Skip to content

Revert "Refine cancel for read thread stream (#8511)"#8541

Merged
ti-chi-bot[bot] merged 1 commit intopingcap:masterfrom
gengliqi:revert-8511
Dec 18, 2023
Merged

Revert "Refine cancel for read thread stream (#8511)"#8541
ti-chi-bot[bot] merged 1 commit intopingcap:masterfrom
gengliqi:revert-8511

Conversation

@gengliqi
Copy link
Copy Markdown
Contributor

@gengliqi gengliqi commented Dec 18, 2023

This reverts commit adf8569.

What problem does this PR solve?

Issue Number: close #8539

Problem Summary:
See #8539

What is changed and how it works?

#8511 introduced an issue that WorkQueue<Block> in SegmentReadTaskPool may not finish forever. Revert this PR to fix this issue for safety and simplicity.

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

None

@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. do-not-merge/needs-triage-completed labels Dec 18, 2023
@gengliqi gengliqi requested a review from SeaRise December 18, 2023 07:00
@ti-chi-bot ti-chi-bot bot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Dec 18, 2023
@gengliqi gengliqi requested a review from JinheLin December 18, 2023 07:00
@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Dec 18, 2023
@ti-chi-bot ti-chi-bot bot added the lgtm label Dec 18, 2023
@ti-chi-bot
Copy link
Copy Markdown
Contributor

ti-chi-bot bot commented Dec 18, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JinheLin, SeaRise

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot removed the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Dec 18, 2023
@ti-chi-bot
Copy link
Copy Markdown
Contributor

ti-chi-bot bot commented Dec 18, 2023

[LGTM Timeline notifier]

Timeline:

  • 2023-12-18 07:06:43.210754264 +0000 UTC m=+858294.247981191: ☑️ agreed by SeaRise.
  • 2023-12-18 07:06:56.803416692 +0000 UTC m=+858307.840643614: ☑️ agreed by JinheLin.

@gengliqi
Copy link
Copy Markdown
Contributor Author

/run-all-tests

@ti-chi-bot ti-chi-bot bot merged commit 72db405 into pingcap:master Dec 18, 2023
@gengliqi gengliqi deleted the revert-8511 branch December 18, 2023 07:50
@gengliqi gengliqi added needs-cherry-pick-release-6.5 Should cherry pick this PR to release-6.5 branch. needs-cherry-pick-release-7.1 Should cherry pick this PR to release-7.1 branch. needs-cherry-pick-release-7.5 Should cherry pick this PR to release-7.5 branch. type/cherry-pick-for-release-6.5-20231215-v6.5.3 labels Dec 18, 2023
@ti-chi-bot
Copy link
Copy Markdown
Member

In response to a cherrypick label: new pull request created to branch release-7.5: #8542.

ti-chi-bot pushed a commit to ti-chi-bot/tiflash that referenced this pull request Dec 18, 2023
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
@ti-chi-bot
Copy link
Copy Markdown
Member

In response to a cherrypick label: new pull request created to branch release-6.5: #8543.

ti-chi-bot pushed a commit to ti-chi-bot/tiflash that referenced this pull request Dec 18, 2023
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
@ti-chi-bot
Copy link
Copy Markdown
Member

In response to a cherrypick label: new pull request created to branch release-7.1: #8544.

ti-chi-bot pushed a commit to ti-chi-bot/tiflash that referenced this pull request Dec 18, 2023
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
ti-chi-bot pushed a commit to ti-chi-bot/tiflash that referenced this pull request Dec 18, 2023
Signed-off-by: ti-chi-bot <ti-community-prow-bot@tidb.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm needs-cherry-pick-release-6.5 Should cherry pick this PR to release-6.5 branch. needs-cherry-pick-release-7.1 Should cherry pick this PR to release-7.1 branch. needs-cherry-pick-release-7.5 Should cherry pick this PR to release-7.5 branch. release-note-none Denotes a PR that doesn't merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Read snapshots can't be released for a long time

4 participants