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

Jean-Noel Rouvignac
10.36.2014 b19ae6bcf067bb426cc404398c9491634b00c050
opendj3-server-dev/src/server/org/opends/server/replication/server/ECLServerHandler.java
@@ -228,7 +228,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;
        }