-
Notifications
You must be signed in to change notification settings - Fork 40k
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
actors participating in leaderelection should annotate objects with a sequence number of the leadership #22007
Labels
area/controller-manager
area/HA
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
sig/cluster-lifecycle
Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.
Comments
mikedanese
changed the title
actors participating in leaderelection should annotate objects with their sequence number
actors participating in leaderelection should annotate objects with a sequence number of the leadership
Feb 25, 2016
bgrant0607
added
priority/backlog
Higher priority than priority/awaiting-more-evidence.
area/controller-manager
area/HA
sig/cluster-lifecycle
Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.
team/control-plane
labels
Feb 26, 2016
This was referenced Feb 26, 2016
This is very similar to http://zookeeper.apache.org/doc/trunk/recipes.html#sc_leaderElection use of sequence number. |
@mikedanese is there any reason we couldn't just use the objects ResourceVersion ? |
@timothysc resource version of what? can you describe a scheme? |
This comment has been minimized.
This comment has been minimized.
k8s-ci-robot
added
the
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
label
Dec 22, 2017
This comment has been minimized.
This comment has been minimized.
k8s-ci-robot
added
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
and removed
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
labels
Jan 21, 2018
/remove-lifecycle rotten |
k8s-ci-robot
added
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
and removed
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
labels
Jan 22, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/controller-manager
area/HA
lifecycle/frozen
Indicates that an issue or PR should not be auto-closed due to staleness.
priority/backlog
Higher priority than priority/awaiting-more-evidence.
sig/cluster-lifecycle
Categorizes an issue or PR as relevant to SIG Cluster Lifecycle.
This allows actors to self validate their leadership over single objects.
We can implement a monotonically incrementing sequence number in the leader election record easily. Actors should annotate objects that they sync with this sequence number. Actors should not sync objects that have a sequence number greater then the actor's current sequence number.
This ensures that leader transition is atomic over single objects in the worst case, which is a guarantee we do not have today.
cc @bgrant0607 @davidopp @timothysc
The text was updated successfully, but these errors were encountered: