-
Notifications
You must be signed in to change notification settings - Fork 7.3k
ZOOKEEPER-3158:firstConnect.countDown() will not be executed where sendThread.primeConnection() has thrown an exception #667
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
Conversation
|
Refer to this link for build results (access rights to CI server needed): |
|
Good. |
lvfangmin
left a comment
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.
Agreed it’s better to have a test case to cover this.
| needSasl.set(false); | ||
| } | ||
|
|
||
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.
nit: remove tailing white space.
|
@eolivelli @lvfangmin |
|
@maoling Actually wakeupCnxn cannot really throw exceptions (I did not check the code when I reviewed the diff), so I think the adding a test is very difficult and so a big deal. |
eolivelli
left a comment
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.
+1 (non binding)
|
This change LGTM 👍 . One followup, I am not familiar with the code flow, Just checking is it not possible to throw an exception in |
…ndThread.primeConnection() has thrown an exception
|
@eolivelli @dineshappavoo |
250f7c2 to
b998e54
Compare
|
Refer to this link for build results (access rights to CI server needed): |
more details in ZOOKEEPER-3158