disagg: Fix TiFlash crash randomly when fails connect to s3 (#10676)#10677
Conversation
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
Signed-off-by: JaySon-Huang <tshent@qq.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (3)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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 |
|
@yinshuangfei: adding LGTM is restricted to approvers and reviewers in OWNERS files. 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. |
|
@kolafish: adding LGTM is restricted to approvers and reviewers in OWNERS files. 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. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JaySon-Huang, JinheLin, kolafish, yinshuangfei 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:
|
e07cede
into
pingcap:release-nextgen-20251011
This is an automated cherry-pick of #10676
What problem does this PR solve?
Issue Number: close #10674
Problem Summary:
The crash caused by a the ptr to
s3_clientthat passed to task is released when one of thetaskthrow an exception, but othertaskstill keep the reference to the danglings3_clientSimilar problem and fix for
MPPTask#3889What is changed and how it works?
And check whether there are similar problems in the codebase when using IOThreadPool. The answer is no.
Check List
Tests
Side effects
Documentation
Release note
Summary by CodeRabbit
Summary by CodeRabbit
Bug Fixes
Tests
Code Quality
New Features
✏️ Tip: You can customize this high-level summary in your review settings.