onepremise / gReview

A Bamboo plugin integrating Gerrit which allows Bamboo to verify changes and update the Gerrit review system.
Apache License 2.0
15 stars 23 forks source link

Why the plugin upload forces a restart of the instance ? #47

Closed sebValiantys closed 6 years ago

sebValiantys commented 6 years ago

gReview is supposed to be a v2 plugin, meaning we should be able to to have hot installations/uninstallations/upgrades without a restart. But each time I either make a fresh install or try to upgrade I can't get it until I restart. I keep getting “This add-on will be installed when the application is restarted” or “This add-on will be updated when you restart the application”.

Do you have any idea what in this plugin might cause this ?

sebValiantys commented 6 years ago

I opened a similar question on Atlassian's forum and got a response there :

It depends on the modules you’re using. There’s an annotation on some of the modules ( >@RequiresRestart ) that basically flags any apps to have to be reloaded when the app starts again). From looking at the source - these are for 6.4 currently: CapabilityConfigurator CustomIndexReader CustomPostBuildIndex CustomPreBuildQueuedAction PlanDeletionInterceptorAction Repository SpringComponent TriggerReason

Seems there's no way around it