Backout part of fix for OpenDJ-95 as it was preventing the ECL from working properly
| | |
| | | // INIT_PHASE is done AND search is persistent => goto PERSISTENT_PHASE |
| | | searchPhase = PERSISTENT_PHASE; |
| | | |
| | | final ProtocolSession localSession = session; |
| | | if (writer ==null && localSession != null) |
| | | if (writer ==null) |
| | | { |
| | | writer = new ECLServerWriter(localSession,this,replicationServerDomain); |
| | | writer = new ECLServerWriter(session,this,replicationServerDomain); |
| | | writer.start(); // start suspended |
| | | } |
| | | |
| | |
| | | public ServerWriter(ProtocolSession session, ServerHandler handler, |
| | | ReplicationServerDomain replicationServerDomain) |
| | | { |
| | | super("Replication server RS(" + handler.getReplicationServerId() |
| | | + ") writing to " + handler.toString() + " at " |
| | | + session.getReadableRemoteAddress()); |
| | | // Session may be null for ECLServerWriter. |
| | | super("Replication server RS(" |
| | | + handler.getReplicationServerId() |
| | | + ") writing to " |
| | | + handler.toString() |
| | | + " at " |
| | | + ((session != null) ? session.getReadableRemoteAddress() |
| | | : "unknown")); |
| | | |
| | | this.session = session; |
| | | this.handler = handler; |