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

Matthew Swift
04.46.2013 2fc933d03d5961fa75fc4a8ffef75d3ec3b125d6
opends/src/server/org/opends/server/replication/server/ReplicationDomainMonitor.java
@@ -279,7 +279,7 @@
        // This directly connected LS has never produced any change
        maxCSN = new CSN(0, 0, serverId);
      }
      pendingMonitorData.setMaxCSN(serverId, maxCSN);
      pendingMonitorData.setMaxCSN(maxCSN);
      pendingMonitorData.setLDAPServerState(serverId, dsState);
      pendingMonitorData.setFirstMissingDate(serverId,
          ds.getApproxFirstMissingDate());
@@ -290,10 +290,9 @@
    // - whatever they are directly or indirectly connected
    final ServerState dbServerState = domain.getLatestServerState();
    pendingMonitorData.setRSState(domain.getLocalRSServerId(), dbServerState);
    for (int serverId : dbServerState)
    for (CSN storedCSN : dbServerState)
    {
      CSN storedCSN = dbServerState.getCSN(serverId);
      pendingMonitorData.setMaxCSN(serverId, storedCSN);
      pendingMonitorData.setMaxCSN(storedCSN);
    }
  }