GitHub user sjcorbett opened a pull request:
https://github.com/apache/brooklyn-server/pull/925
Fix reporting of master ID when web API used before persistence is ready
ServerResource#getHighAvailabilityPlaneStates obtains a new plane sync
record when the master node ID in the first one it obtained is null.
This generally only happens when the web-console tries to obtain the
HA status before the server has started up.
Fixes https://issues.apache.org/jira/browse/BROOKLYN-167.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sjcorbett/brooklyn-server fix-master-ha-api
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/brooklyn-server/pull/925.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #925
----
commit 4eafdba9fb89b7c62f0aaacb296261459b8f29ed
Author: Sam Corbett <sam.corbett@...>
Date: 2017-12-22T13:34:06Z
Fix reporting of master ID when web API used before persistence is ready
ServerResource#getHighAvailabilityPlaneStates obtains a new plane sync
record when the master node ID in the first one it obtained is null.
This generally only happens when the web-console tries to obtain the
HA status before the server has started up.
Fixes https://issues.apache.org/jira/browse/BROOKLYN-167.
----
---