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

Nicolas Capponi
23.34.2014 2a144b65f9429702045ead70fad938755c2d6d37
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
opendj-sdk/opends/src/server/org/opends/server/replication/server/changelog/je/JEChangelogDB.java 4 ●●● patch | view | raw | blame | history
opendj-sdk/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)