-
Notifications
You must be signed in to change notification settings - Fork 9.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Could it fail fast on the propose dropping while leader changed #8975
Labels
Comments
We could be smarter about this. However, the raft library does not return an error for dropping messages right now. Do you want to help on this one? |
Yeah, I am looking into this. |
This was referenced Apr 9, 2018
@absolute8511 Vincent, I saw that you have a coupled of PR merged, thanks! I am closing this issue. Please feel free to reopen it if it's not fixed and need further action here. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
While leader is transferred, the proposal may be dropped. But we can not get the notify so we can do some retry work.
For example, as below
https://github.com/coreos/etcd/blob/b041ce5d514a4b4aaeefbffb008f0c7570a18986/etcdserver/v3_server.go#L572
We just wait context timeout to get to know we failed to propose which is blocking too long. I think we should handle the proposal dropping event to fail fast. One possible way is to wake up the
cctx.Done
while dropping proposal.The text was updated successfully, but these errors were encountered: