You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Lorenz Quack (JIRA)" <ji...@apache.org> on 2017/04/17 15:49:42 UTC
[jira] [Resolved] (QPID-7740) [BDB HA] Improve
ReplicatedEnvironmentFacade API for updating priority, designated primary
and electoral group override
[ https://issues.apache.org/jira/browse/QPID-7740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lorenz Quack resolved QPID-7740.
--------------------------------
Resolution: Fixed
looks good to me
> [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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org