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

pgamba
14.02.2008 5a9daed73a810ffd4c4d9c21df19b5605f07089d
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
opendj-sdk/opends/src/server/org/opends/server/replication/server/ServerHandler.java 7 ●●●●● patch | view | raw | blame | history
opendj-sdk/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();