Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
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.