GitHub user borjab opened a pull request:
https://github.com/apache/curator/pull/243
[Fix] Curator-444
This ensures that not two nodes are simultaneusly as leaders.
If setLeadership(false) is redundant no event would be reported anyway so
it is quite safe.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/borjab/curator CURATOR-444
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/curator/pull/243.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 #243
----
commit 9b18a0bb67a48efec6cecfa530b41b1d5799bd5a
Author: Borja Bravo <[email protected]>
Date: 2017-11-28T10:21:32Z
[Fix] Curator-444
----
---