Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-7740

[BDB HA] Improve ReplicatedEnvironmentFacade API for updating priority, designated primary and electoral group override

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • qpid-java-broker-7.0.0
    • Broker-J
    • None

    Description

      Current the ReplicatedEnvironmentFacade has two sources of truth for node priority, designated primary and electoral group override:

      1. the ReplicatedEnvironmentConfiguration interface is used when starting the environment for the first time or restarting it,
      2. and the arguments for the setDesignatedPrimary etc which are applied to the running JE replicated environment during its lifetime

      There is no current production bug (as the BDBHAVHNImpl keeps the two sources in synch), but this pattern makes the API harder to understand and test.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kwall Keith Wall
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: