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

Ludovic Poitou
03.15.2013 ca8d415a2d4a5cd114b49c59ef5d8d380d0f2cb8
Fix for OPENDJ-1239 – dsreplication logs warnings for each replication server under cn=monitor.
Don't check server-id for replication servers.
1 files modified
9 ■■■■ changed files
opends/src/ads/org/opends/admin/ads/TopologyCache.java 9 ●●●● patch | view | raw | blame | history
opends/src/ads/org/opends/admin/ads/TopologyCache.java
@@ -494,8 +494,13 @@
        int replicaId = -1;
        try
        {
          replicaId =
              new Integer(ConnectionUtils.getFirstValue(sr, "server-id"));
          String sid = ConnectionUtils.getFirstValue(sr, "server-id");
          if (sid == null)
          {
            // This is not a replica, but a replication server. Skip it
            continue;
          }
          replicaId = new Integer(sid);
        }
        catch (Throwable t)
        {