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

vharseko
12.41.2023 0de6858e9548e84aebc148747be92a811ba33636
opendj-server-legacy/src/main/java/org/opends/server/replication/service/ReplicationDomain.java
@@ -2480,7 +2480,7 @@
      for (RSInfo rsInfo : getRsInfos())
      {
        // the 'empty' RSes (generationId==-1) are considered as good citizens
        if (rsInfo.getGenerationId() != -1 &&
        if (rsInfo.getGenerationId() != -1L &&
            rsInfo.getGenerationId() != generationID)
        {
          try
@@ -2522,7 +2522,7 @@
    resetGenerationId(-1L);
    // check that at least one ReplicationServer did change its generation-id
    checkGenerationID(-1);
    checkGenerationID(-1L);
    // Reconnect to the Replication Server so that it adopts our GenerationID.
    restartService();