cdc: ensure Deregister::Conn is always triggered#18246
cdc: ensure Deregister::Conn is always triggered#18246ti-chi-bot[bot] merged 2 commits intotikv:masterfrom
Deregister::Conn is always triggered#18246Conversation
|
Welcome @wlwilliamx! |
|
Hi @wlwilliamx. Thanks for your PR. I'm waiting for a tikv 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. |
|
/CC @hicqu @3AceShowHand |
|
@wlwilliamx: GitHub didn't allow me to request PR reviews from the following users: 3AceShowHand. Note that only tikv members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn 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. |
|
/CC @3AceShowHand |
|
@wlwilliamx: GitHub didn't allow me to request PR reviews from the following users: 3AceShowHand. Note that only tikv members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn 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. |
4ee47ea to
537031b
Compare
|
/check-dco |
Signed-off-by: wlwilliamx <wlwilliamx@gmail.com>
Signed-off-by: wlwilliamx <wlwilliamx@gmail.com>
537031b to
7fd2076
Compare
|
/check-issue-triage-complete |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 3AceShowHand, hicqu The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
|
/ok-to-test |
|
In response to a cherrypick label: new pull request created to branch |
close #18245 This PR ensures that Deregister::Conn(conn_id) is always executed when a CDC connection closes, even if an error occurs in recv_req. Previously, if an error happened early, the deregistration step could be skipped, leading to potential connection leaks. Signed-off-by: wlwilliamx <wlwilliamx@gmail.com> Co-authored-by: wlwilliamx <wlwilliamx@gmail.com>
|
In response to a cherrypick label: new pull request created to branch |
close #18245 This PR ensures that Deregister::Conn(conn_id) is always executed when a CDC connection closes, even if an error occurs in recv_req. Previously, if an error happened early, the deregistration step could be skipped, leading to potential connection leaks. Signed-off-by: wlwilliamx <wlwilliamx@gmail.com> Co-authored-by: wlwilliamx <wlwilliamx@gmail.com>
What is changed and how it works?
Issue Number: Close #18245
What's Changed:
Related changes
pingcap/docs/pingcap/docs-cn:Check List
Tests
Side effects
Release note