pingcap / tiflash

The analytical engine for TiDB and TiDB Cloud. Try free: https://tidbcloud.com/free-trial
https://docs.pingcap.com/tidb/stable/tiflash-overview
Apache License 2.0
944 stars 410 forks source link

avoid potential TiFlash crash in `NonJoinedBlockInputStream` (#9364) #9369

Open ti-chi-bot opened 1 month ago

ti-chi-bot commented 1 month ago

This is an automated cherry-pick of #9364

What problem does this PR solve?

Issue Number: close #9190

Problem Summary: Hold shared pointer of Join in NonJoinedBlockInputStream

What is changed and how it works?

Check List

Tests

Side effects

Documentation

Release note

None
ti-chi-bot[bot] commented 1 month ago

[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.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/pingcap/tiflash/blob/release-5.4/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment