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

Consider changing order of criterias when computing the best replication server

    Details

    • Type: Improvement
    • Status: Dev backlog
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 7.1.0
    • Fix Version/s: None
    • Component/s: replication
    • Labels:
      None

      Description

      Selection of a replication server to connect to happens according to the following rules:

      1. replication server has the same group id as the local DS oneĀ 
      2. replication server has the same generation id as the local DS one
      3. replication server is up to date regarding changes generated by the local DS
      4. replication server in the same VM as local DS one

      whereas it may be wiser to

      1. prefer servers with the same generation ID
      2. of these, prefer servers which are up to date
      3. of these, prefer servers in my local group
      4. of these, prefer servers in the same VM.

      (cf. thisĀ PR comment)

      Note that depending on the emphasis of the criteria (broad to narrow, narrow to broad, "closer" server first, most likely server first) the final order might be different.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fabiop Fabio Pistolesi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: