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

Jean-Noel Rouvignac
26.19.2014 6e14a8394d193af0fa32b83d3cc424787d41eadd
opends/src/server/org/opends/server/replication/server/ECLServerHandler.java
@@ -223,7 +223,13 @@
      {
        final UpdateMsg newMsg = mh.getNextMessage(false /* non blocking */);
        if (newMsg == null)
        if (newMsg instanceof ReplicaOfflineMsg)
        {
          // and ReplicaOfflineMsg cannot be returned to a search on cn=changelog
          // proceed as if it was never returned
          continue;
        }
        else if (newMsg == null)
        { // in non blocking mode, null means no more messages
          return null;
        }