mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Nicolas Capponi
23.34.2014 1f44aee63fb17ced418125a5b7bbbed35b0d526f
OPENDJ-1441 (CR-4037) Persistent searches on external changelog do not return changes for new replicas and new domains

Fix done in r10925 ported to JE changelog implementation

1 files modified
4 ■■■ changed files
opends/src/server/org/opends/server/replication/server/changelog/je/JEChangelogDB.java 4 ●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/changelog/je/JEChangelogDB.java
@@ -266,7 +266,9 @@
      return previousValue;
    }
    if (MultimasterReplication.isECLEnabledDomain(baseDN))
    // When called at replication startup, the isECLEnabledDomain() method blocks on STARTING state.
    // Checking cursors list ensure that it is never called in the startup case.
    if (!registeredMultiDomainCursors.isEmpty() && MultimasterReplication.isECLEnabledDomain(baseDN))
    {
      // we just created a new domain => update all cursors
      for (MultiDomainDBCursor cursor : registeredMultiDomainCursors)