-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Investigate processes executed by leader #15944
Comments
Below requests can be issued by a stale leader and related to this issue:
It’s not related to the stale leader issue but Alarm might have similar behavior. In theory a stale leader can have a long duration between checking space and issuing a request of alarm in Put (or Txn, or LeaseGrant). I think a simple solution for this issue might be not using Raft messages of |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 21 days if no further activity occurs. Thank you for your contributions. |
Another example, etcd/server/etcdserver/server.go Lines 1491 to 1500 in 3347568
|
What would you like to be added?
Etcd has multiple processes that executed by leader, however neither etcd nor raft guarantees that there is only 1 cluster member that identifies itself as a leader at one time.
Raft only guarantees that commited entries will not be lost by ensuring that they are persisted on quorum of members and electing a leader requires a quorum. However, there are periods of time where two members can consider themselves a leader, even though in reality they no longer have quorum and cannot commit any entries. An example is when leader is disconnected from other members and they elect new leader, there will be a period of time when old and new leader will be present.
TODO:
Why is this needed?
To surface the issue with incorrect pattern used in etcd and improve the codebase.
The text was updated successfully, but these errors were encountered: