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

pgamba
26.11.2008 081506cd0a6be7d9a124fedaa3c1357ab1c4588c
improve log for 2911 - dsreplication pre/post-external initialisation fails to clear all the changelogs
3 files modified
16 ■■■■ changed files
opends/src/messages/messages/replication.properties 4 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ServerHandler.java 6 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ServerWriter.java 6 ●●●● patch | view | raw | blame | history
opends/src/messages/messages/replication.properties
@@ -210,8 +210,8 @@
MILD_ERR_ERROR_MSG_RECEIVED_79=The following error has been received : <%s>
MILD_ERR_IGNORING_UPDATE_FROM_80=Update <%s> received from server <%s> is \
ignored due to a bad generation ID of this server
MILD_ERR_IGNORING_UPDATE_TO_81=Update <%s> will not be sent to server %s that has \
not the right generation ID
MILD_ERR_IGNORING_UPDATE_TO_81=In %s, update <%s> will not be sent to server %s\
 with generation ID=%s different from expected generation ID=%s
SEVERE_ERR_INIT_IMPORT_NOT_SUPPORTED_82= Initialization cannot be done because \
import is not supported by the backend %s
SEVERE_ERR_INIT_EXPORT_NOT_SUPPORTED_83= Initialization cannot be done because \
opends/src/server/org/opends/server/replication/server/ServerHandler.java
@@ -1004,8 +1004,12 @@
        (referenceGenerationId != generationId))
    {
      logError(ERR_IGNORING_UPDATE_TO.get(
               this.replicationServerDomain.getReplicationServer().
                 getMonitorInstanceName(),
               update.getDn(),
               this.getMonitorInstanceName()));
               this.getMonitorInstanceName(),
               Long.toString(generationId),
               Long.toString(referenceGenerationId)));
      return;
    }
opends/src/server/org/opends/server/replication/server/ServerWriter.java
@@ -115,8 +115,12 @@
            || (handler.getGenerationId() == -1))
        {
          logError(ERR_IGNORING_UPDATE_TO.get(
              this.replicationServerDomain.getReplicationServer().
                getMonitorInstanceName(),
              update.getDn(),
              this.handler.getMonitorInstanceName()));
              this.handler.getMonitorInstanceName(),
              Long.toString(handler.getGenerationId()),
              Long.toString(referenceGenerationId)));
          continue;
        }