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

mrossign
03.44.2009 4b1c40ffa0ccf7d8d589d85ea62093f43ce0a9db
opends/src/server/org/opends/server/replication/server/ReplicationServerDomain.java
@@ -2746,6 +2746,24 @@
    builder.add(baseDn.toString() + " " + generationId);
    attributes.add(builder.toAttribute());
    try
    {
      MonitorData md = computeMonitorData();
      // Missing changes
      long missingChanges =
        md.getMissingChangesRS(replicationServer.getServerId());
      attributes.add(Attributes.create("missing-changes", String.valueOf(
        missingChanges)));
    }
    catch (Exception e)
    {
      Message message =
        ERR_ERROR_RETRIEVING_MONITOR_DATA.get(stackTraceToSingleLineString(e));
      // We failed retrieving the monitor data.
      attributes.add(Attributes.create("error", message.toString()));
    }
    return attributes;
  }
}