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

Jean-Noël Rouvignac
26.57.2016 0e5de1f566819e9bdbf2dc0e654e16fb6a04a79b
opendj-server-legacy/src/main/java/org/opends/server/replication/service/ReplicationDomain.java
@@ -842,6 +842,10 @@
        else if (msg instanceof UpdateMsg)
        {
          update = (UpdateMsg) msg;
          // If the replica is reset to an older state (server died, reset from a backup of day-1),
          // then its generator state must be adjusted back to what it was before.
          // Scary: what happens if the DS starts accepting updates
          // before the recovery is finished?
          generator.adjust(update.getCSN());
        }
        else if (msg instanceof InitializeRcvAckMsg)