-
See changes in tigase-private/private-licences#14
-
The "NPE in LicenceCheck" issue should be fixed but I do wonder if we should still address this one explicitly, i.e. when running
SchemaManager, after loading the config, explicitly disable clustering to avoid any issues. Even if the whole cluster is updating the "only single node runs the update" is handle via the database-level locking to prevent concurrent run… -
This could be done, but it would be more complex. The current issue that we experienced was caused by instantiation of the instance of a class that started
LicenceChecker. This is now solved, so schema upgrade should just work out of the box now correctly.running SchemaManager, after loading the config, explicitly disable clustering to avoid any issues
Running
SchemaManagerdoesn't start clustering, it needed to find bean configuration (needed repository implementations) and to achieve that it created bean instances, but no actual clustering would be started. As now we moved that toinitializationstep, licence will not be checked asSchemaManagerwill not initialize bean nor it will start clustering.
It may happen that if the upgrade takes a long time, and in that case licence-checker may try to initialise itself causing the shutdown: