-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
domain: cleanup topo keys properly #58984
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: iosmanthus <[email protected]>
Hi @iosmanthus. Thanks for your PR. I'm waiting for a pingcap 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. Instructions 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. |
Hi @iosmanthus. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. Instructions 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. |
[LGTM Timeline notifier]Timeline:
|
/check-issue-triage-complete |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tangenta, ystaticy The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@ystaticy: adding LGTM is restricted to approvers and reviewers in OWNERS files. In response to this: Instructions 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. |
/ok-to-test |
@iosmanthus: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions 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. |
@iosmanthus: The following test failed, say
Full PR test history. Your PR dashboard. Instructions 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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #58984 +/- ##
================================================
+ Coverage 73.0522% 74.3857% +1.3335%
================================================
Files 1682 1728 +46
Lines 465586 473807 +8221
================================================
+ Hits 340121 352445 +12324
+ Misses 104549 98955 -5594
- Partials 20916 22407 +1491
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@@ -912,6 +912,21 @@ func (is *InfoSyncer) updateTopologyAliveness(ctx context.Context) error { | |||
clientv3.WithLease(is.topologySession.Lease())) | |||
} | |||
|
|||
func (is *InfoSyncer) RemoveTopologyInfo() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
exported method InfoSyncer.RemoveTopologyInfo should have comment or be unexported
What problem does this PR solve?
Issue Number: close #58983
Problem Summary:
TiDB should remove the topology keys while closing the domain.
What changed and how does it work?
Check List
Tests
Side effects
Documentation
Release note
Please refer to Release Notes Language Style Guide to write a quality release note.