Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-4052

Backport OPENDJ-3309: Replication server connection listener thread exits silently


    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0, 3.5.0, 3.0.0, 2.6.4
    • Fix Version/s: 3.0.1
    • Component/s: replication
    • Labels:
    • Support Ticket IDs:


      When an RS starts up it creates a thread to listen to the replication port. This creates a loop which exits when either the server is being shutdown, or the port is being reconfigured. The loop:

      1. accepts a new connection,
      2. does the SSL handshake, and then
      3. reads a ReplicationMsg.

      If the ReplicationMsg is not a ServerStartMsg / ReplServerStartMsg / ServerStartECLMsg the thread returns silently, and effectively nothing is left to accept connections on the replication port.

      There is absolutely no logging that this is happening, which seems like an omission. Something at ERROR level would be appropriate, because the replication service is now crippled.

      We only determined this was a problem by comparing jstacks of a working server and of a broken server. It is not yet clear what message is being received that causes the thread to return.


          Issue Links



              • Assignee:
                cjr Chris Ridd
                cjr Chris Ridd
                Dev Assignee:
                Chris Ridd
                QA Assignee:
                carole forel
              • Votes:
                0 Vote for this issue
                2 Start watching this issue


                • Created: