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

mrossign
25.48.2010 1ba01c5c1afedcbf59c0aee4ae3d7555f16ef935
Regarding the best replication server computation once already connected, avoid disconnection and silly message when broker is stopping.

1 files modified
4 ■■■■ changed files
opends/src/server/org/opends/server/replication/service/ReplicationBroker.java 4 ●●●● patch | view | raw | blame | history
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.