-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add "stopping" state. #982
Conversation
…when trying to stop a distributed load and slaves rejoin.
Looks good to me. Tested working on my setup. |
I saw the code and it should work, but I am trying to think why this is introduced. here - Line 436 in 68ac9d3
Client on being stop sends client_ready message. Master now hatch the client here -Line 346 in 68ac9d3
Which was added in recent commit - 1549929 Client is now in Line 426 in 68ac9d3
With a bit of bad luck(or enough number of runs), server might receive one of the client as hatching and hence the condition will become false - Line 374 in 68ac9d3
Adding |
I think it is ready because master can send another test request, after stopping one. |
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.
LGTM.. I'll merge this and we'll test more against master.
thanks! 👍
validated that this fixed the issue on our setup as well. Thanks! |
glad to see this fixed, good job, is it going to be part of 0.12.0 or how it will be released? |
Fixes #981