Ate Douma pushed to branch master at cms-community / hippo-repository
Commits: 2904fd4f by Ate Douma at 2017-11-03T16:39:47+01:00 REPO-1811 Ensure/force cluster synchronization before initializating the configuration - - - - - 1 changed file: - engine/src/main/java/org/onehippo/cm/engine/ConfigurationServiceImpl.java Changes: ===================================== engine/src/main/java/org/onehippo/cm/engine/ConfigurationServiceImpl.java ===================================== --- a/engine/src/main/java/org/onehippo/cm/engine/ConfigurationServiceImpl.java +++ b/engine/src/main/java/org/onehippo/cm/engine/ConfigurationServiceImpl.java @@ -138,6 +138,9 @@ public class ConfigurationServiceImpl implements InternalConfigurationService { // acquire a write lock for the hcm lockManager.lock(); try { + // Ensure/force cluster synchronization in case another instance just initialized before, which changes + // then may not yet have been synchronized automatically! + session.refresh(true); // create the /hcm:hcm node, if necessary ensureInitialized(); View it on GitLab: https://code.onehippo.org/cms-community/hippo-repository/commit/2904fd4f0580e361e0b2dfe19a5f69b32b1542a9 --- View it on GitLab: https://code.onehippo.org/cms-community/hippo-repository/commit/2904fd4f0580e361e0b2dfe19a5f69b32b1542a9 You're receiving this email because of your account on code.onehippo.org.
_______________________________________________ Hippocms-svn mailing list Hippocms-svn@lists.onehippo.org https://lists.onehippo.org/mailman/listinfo/hippocms-svn