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

pgamba
20.25.2007 4568880532b689686f9ddf3fd27c41075b7fd5aa
#2271 severe errors in logs after replication config - remove inconsistent error message when retrieving genID
1 files modified
8 ■■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java 8 ●●●●● patch | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/replication/plugin/ReplicationDomain.java
@@ -2394,13 +2394,15 @@
        {
          Attribute attr = attrs.get(0);
          LinkedHashSet<AttributeValue> values = attr.getValues();
          if (values.size()!=1)
          if (values.size()>1)
          {
            Message message = ERR_LOADING_GENERATION_ID.get(
                baseDN.toString(), "#Values != 1");
                baseDN.toString(), "#Values=" + values.size() +
                " Must be exactly 1 in entry " +
                resultEntry.toLDIFString());
            logError(message);
          }
          else
          else if (values.size() == 1)
          {
            found=true;
            try