GitHub user neykov opened a pull request:
https://github.com/apache/incubator-brooklyn/pull/245
Fix a HA failover bug where the master tries to become a master again and
fails.
Instead of failing just log a warning, turns out this case can happen in a
real-world scenario where the storage delays the writes of the master.
Based on Sam's approach and prototype test, thanks.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/neykov/incubator-brooklyn
fix/double-master-rebind
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-brooklyn/pull/245.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 #245
----
commit 27d958dea72ee3aa593a695de29f8bbb18d403eb
Author: Svetoslav Neykov <[email protected]>
Date: 2014-10-15T09:59:52Z
Fix a HA failover bug where the master tries to become a master again and
fails.
Instead of failing just log a warning, turns out this case can happen in a
real-world scenario where the storage delays the writes of the master.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---