New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CURATOR-588 Upgrade ZooKeeper to 3.6.3 #386
Conversation
Thanks @eolivelli. Build failure:
Is this relevant or some other known issue? |
This patch is still a draft, because some tests are still failing There is some behaviour changes in ZK 3.6.3 and we have to understand all the failures |
@cammckenzie I have fixed the problem for zk35 compatibility test. The weird behaviour is about a ConnectionLoss vs SessionExpired that happens in a test from 3.6.3 onwards |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for starting this upgrade! Comment inline.
@@ -670,9 +670,13 @@ public void testFailure() throws Exception | |||
client.checkExists().forPath("/hey"); | |||
fail(); | |||
} | |||
catch ( KeeperException.SessionExpiredException e ) | |||
{ | |||
// correct, this happens on ZK 3.6.3+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why? Shall we add a link to the reason?
It is a bit weird a patch version bump cause behavior changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really do not know why this is happening.
I have looked thru ZK 3.6.3 release notes and I haven't found anything that may be releated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine. It is not a blocker for client library such as Curator, but is interesting...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably Session Expiration is happening earlier with 3.6.3
with 3.6.2 we still see a ConnectionLoss, that usually becomes a SessionExpired when the client is able to connect again and the ZK server already expired it on the server side
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, all tests pass.
It looks like upgrading to ZK 3.6.3 is not that easy as for 3.6.2