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

pgamba
14.02.2008 3548261f7448ab41a3a9211e75b2ef554b4d20c6
No Issue associated. A replication server RS registers under cn=monitor one entry for each peer RS, and one entry for each LS remotely connected to the peer RS (Undirect LDAP server entry). When 
the remote RS has new LS connecting to it, or LS disconnecting from it, it notifies the other RSes .. that's fine.
But when the connection between our RS and the peer RS itself is broken, some entities remains under cn=monitor while they should be removed.

1 files modified
7 ■■■■■ changed files
opends/src/server/org/opends/server/replication/server/ServerHandler.java 7 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/replication/server/ServerHandler.java
@@ -1280,6 +1280,13 @@
  {
    active = false;
    // Stop the remote LSHandler
    for (LightweightServerHandler lsh : connectedServers.values())
    {
      lsh.stopHandler();
    }
    connectedServers.clear();
    try
    {
      session.close();