breaking: Make StepDownOnRemoval the default behavior#239
breaking: Make StepDownOnRemoval the default behavior#239soma00333 wants to merge 1 commit intoetcd-io:mainfrom
StepDownOnRemoval the default behavior#239Conversation
Signed-off-by: soma00333 <soma03432303@gmail.com>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: soma00333 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Hi @soma00333. Thanks for your PR. I'm waiting for a etcd-io member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
@ahrtr |
Summary:
This PR addresses issue #83 and is part of the v4.0.0 milestone.
The
StepDownOnRemovalfeature, introduced in PR #79, ensures that a leader steps down to a follower role after it removes itself from the group or is demoted to a learner. Without this feature, the former leader may continue sending heartbeats despite no longer being part of the group, which could cause inconsistencies.For backward compatibility, this behavior was initially disabled by default. In version 4.0.0, we aim to make this behavior the default and remove the associated configuration setting to simplify the leadership transition logic.
Key Changes:
StepDownOnRemoval; the behavior is now always enabled.StepDownOnRemovalbehavior.Breaking Changes:
This is a breaking change for projects relying on the false configuration of
StepDownOnRemoval. The leadership transition behavior will now enforce stepping down when a leader removes itself or is demoted, which may require updates to dependent systems or configurations to align with the new behavior.Related References: