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

pgamba
29.43.2007 cc98695069d613fb483650235920b70f1022f4d5
opends/src/server/org/opends/server/replication/server/ServerWriter.java
@@ -108,7 +108,9 @@
        // Ignore update to be sent to a replica with a bad generation ID
        long referenceGenerationId = replicationCache.getGenerationId();
        if (referenceGenerationId != handler.getGenerationId())
        if ((referenceGenerationId != handler.getGenerationId())
            || (referenceGenerationId == -1)
            || (handler.getGenerationId() == -1))
        {
          logError(ERR_IGNORING_UPDATE_TO.get(
              update.getDn(),