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

Replication server connection listener thread exits silently

    Details

    • Support Ticket IDs:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cjr Chris Ridd
                Reporter:
                cjr Chris Ridd
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: