[ 
https://issues.apache.org/jira/browse/QPID-7740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961045#comment-15961045
 ] 

ASF subversion and git services commented on QPID-7740:
-------------------------------------------------------

Commit 1790577 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1790577 ]

QPID-7740: [Java Broker, BDB HA] Eliminate second source of truth for node 
prioriy, designated primary and electral group override

Also fix a defect in two tests that tried to ensure group returned to operation 
after a set designated primary or electable group override was applied.

> [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