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

Use of hostnames in replication protocol causes failover problems

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.6.0
    • Component/s: replication
    • Labels:
    • Environment:

      Description

      On receipt of a TopologyMsg, the DS attempts to connect to each identified RS, and updates the list of replication servers using the information in the TopologyMsg.

      However the "URLs" in the TopologyMsg are formed by each RS using getHostname(), so the DS receives names that it is unable to connect to (see Environment).

      A consequence is that all of the server names received in the TopologyMsg are marked as "not locally configured", which means they will be filtered out when calculating the best server to connect to.

      The result is that the DS will not be able to failover correctly to all RSes.

      Configuring the replication domain explicitly with hostname:port servers may cause the servers to be marked as "locally configured" however the DS will be prevented from connecting to it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                matthew Matthew Swift
                Reporter:
                cjr Chris Ridd
                Dev Assignee:
                Matthew Swift
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: