Update to Curator 4.2.0, ZooKeeper 3.4.14.#8177
Conversation
|
The test failures look suspicious. There is no such method as |
|
@gianm Yep, this is a known bug for curator, more details: |
|
+1 when the build works |
|
@gianm can you fix test failures? |
|
This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If you think that's incorrect or this pull request should instead be reviewed, please simply write any comment. Even if closed, you can still revive the PR at any time or discuss it on the dev@druid.apache.org list. Thank you for your contributions. |
|
Still waiting for a new release of Curator. |
|
This issue is no longer marked as stale. |
|
This pull request has been marked as stale due to 60 days of inactivity. It will be closed in 4 weeks if no further activity occurs. If you think that's incorrect or this pull request should instead be reviewed, please simply write any comment. Even if closed, you can still revive the PR at any time or discuss it on the dev@druid.apache.org list. Thank you for your contributions. |
|
Fine, let's close this until a new Apache Curator is released. |
|
Looks like curator 4.2.0 and 4.3.0 are now available. |
|
curator 4.3.0 should have the fix. I can make a PR for this |
Other than generally wanting to use the latest Curator and ZK, this change is motivated by an outage I encountered last night. I was debugging a cluster last night that was acting bizarrely, and in the end it turned out that it had two overlords that both thought they were leader. Shortly before they both gained leadership, the ZK quorum was unavailable for about 20 seconds. It doesn't look like Druid itself was doing anything particularly wrong: logs indicated the overlords weren't ignoring
stopBeingLeadercalls or anything like that.For these reasons, I believe the cause of the outage was https://issues.apache.org/jira/browse/CURATOR-498. This comment indicates the bug could cause two LeaderLatch users to become leaders at once: https://issues.apache.org/jira/browse/CURATOR-498?focusedCommentId=16732419&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16732419.
The bug was fixed in Curator 4.2.0.