server, member, election: document and test the election client pinning (#11110) - #11188
server, member, election: document and test the election client pinning (#11110)#11188ti-chi-bot wants to merge 1 commit into
Conversation
ref tikv#7780, ref tikv#10671, ref tikv#10746, ref tikv#11106 Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
|
This cherry pick PR is for a release branch and has not yet been approved by triage owners. To merge this cherry pick:
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. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
@ti-chi-bot: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
This is an automated cherry-pick of #11110
What problem does this PR solve?
Issue Number: ref #11106, ref #10671, ref #10746, ref #7780
#9986 made the etcd client health checker optional and created the election client with it disabled. The election client is built from the member's own advertise client URLs, and only the health checker rewrites that endpoint list, so leaving it off confines leader lease renewals to the local etcd server.
The constraint is not recorded anywhere in the tree and no test asserts it. This PR supplies the missing documentation and tests. It changes no behaviour.
What is changed and how does it work?
Check List
Tests
Release note
Summary by CodeRabbit
Bug Fixes
Tests
Documentation