Skip to content

ensure Event::onTaskFinish is called to avoid pipeline task hang#10335

Merged
ti-chi-bot[bot] merged 8 commits intopingcap:masterfrom
guo-shaoge:refine_operator_suffix
Aug 13, 2025
Merged

ensure Event::onTaskFinish is called to avoid pipeline task hang#10335
ti-chi-bot[bot] merged 8 commits intopingcap:masterfrom
guo-shaoge:refine_operator_suffix

Conversation

@guo-shaoge
Copy link
Copy Markdown
Contributor

@guo-shaoge guo-shaoge commented Aug 6, 2025

What problem does this PR solve?

Issue Number: close #10334

Problem Summary: make sure Event::onTaskFinish() is always called to avoid query hang ifEventTask::doFinalizeImpl() got excpetion.

What is changed and how it works?


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

Signed-off-by: guo-shaoge <shaoge1994@163.com>
@ti-chi-bot ti-chi-bot Bot added release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 6, 2025
@guo-shaoge guo-shaoge requested a review from windtalker August 6, 2025 10:17
Signed-off-by: guo-shaoge <shaoge1994@163.com>
Comment thread dbms/src/Flash/Pipeline/Schedule/Tasks/Impls/EventTask.cpp Outdated
Signed-off-by: guo-shaoge <shaoge1994@163.com>
Signed-off-by: guo-shaoge <shaoge1994@163.com>
@guo-shaoge guo-shaoge changed the title catch exception in EventTask:: doFinalizeImpl ensure Event::onTaskFinish is called to avoid pipeline task hang Aug 13, 2025
@guo-shaoge guo-shaoge requested a review from SeaRise August 13, 2025 06:16
Copy link
Copy Markdown
Contributor

@windtalker windtalker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ti-chi-bot ti-chi-bot Bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Aug 13, 2025
@ti-chi-bot ti-chi-bot Bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Aug 13, 2025
@ti-chi-bot
Copy link
Copy Markdown
Contributor

ti-chi-bot Bot commented Aug 13, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-08-13 06:25:07.401880776 +0000 UTC m=+421506.436464004: ☑️ agreed by windtalker.
  • 2025-08-13 06:28:15.953463471 +0000 UTC m=+421694.988046689: ☑️ agreed by gengliqi.

Copy link
Copy Markdown
Contributor

@SeaRise SeaRise left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ti-chi-bot
Copy link
Copy Markdown
Contributor

ti-chi-bot Bot commented Aug 13, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: gengliqi, SeaRise, windtalker

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:
  • OWNERS [SeaRise,gengliqi,windtalker]

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

@guo-shaoge
Copy link
Copy Markdown
Contributor Author

/retest

Signed-off-by: guo-shaoge <shaoge1994@163.com>
Signed-off-by: guo-shaoge <shaoge1994@163.com>
Signed-off-by: guo-shaoge <shaoge1994@163.com>
@ti-chi-bot ti-chi-bot Bot merged commit 731e684 into pingcap:master Aug 13, 2025
7 checks passed
@guo-shaoge guo-shaoge deleted the refine_operator_suffix branch August 14, 2025 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved lgtm release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

catch exception in Operator::operatorSuffixImpl

4 participants