[ 
https://issues.apache.org/jira/browse/QPID-7740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Keith Wall updated QPID-7740:
-----------------------------
    Description: 
Current the {{ReplicatedEnvironmentFacade}} has two sources of truth for node 
priority, designated primary and electoral group override:

# the ReplicatedEnvironmentConfiguration interface is used when starting the 
environment for the first time or restarting it,
# 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.

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

# the ReplicatedEnvironmentConfiguration interface is used when starting the 
environment for the first time or restarting it,
# 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, but this pattern makes the API harder to 
understand. 


> [BDB HA] Improve ReplicatedEnvironmentFacade API for updating priority, 
> designated primary and electoral group override
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-7740
>                 URL: https://issues.apache.org/jira/browse/QPID-7740
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Java Broker
>            Reporter: Keith Wall
>             Fix For: qpid-java-broker-7.0.0
>
>
> Current the {{ReplicatedEnvironmentFacade}} has two sources of truth for node 
> priority, designated primary and electoral group override:
> # the ReplicatedEnvironmentConfiguration interface is used when starting the 
> environment for the first time or restarting it,
> # 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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to