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

mrossign
25.48.2010 1ba01c5c1afedcbf59c0aee4ae3d7555f16ef935
opends/src/server/org/opends/server/replication/service/ReplicationBroker.java
@@ -2558,8 +2558,8 @@
                replicationServerInfos, serverId, baseDn, groupId,
                generationID);
              if ((bestServerInfo == null) ||
                (bestServerInfo.getServerId() != rsServerId))
              if ((rsServerId != -1) && ((bestServerInfo == null) ||
                (bestServerInfo.getServerId() != rsServerId)))
              {
                // The best replication server is no more the one we are
                // currently using. Disconnect properly then reconnect.