Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BugFix] Fix exec state report lost lead to ingestion status getting stuck #36688

Merged
merged 1 commit into from Jan 5, 2024

Conversation

meegoo
Copy link
Contributor

@meegoo meegoo commented Dec 8, 2023

Why I'm doing:

  • when there are more than 1000(queue size) exec report task , The thread pool will discard new tasks, which can result in the ingestion status getting stuck.

What I'm doing:

  • use a dedicate thread pool to handle done report task

Fixes #issue

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Does this PR entail a change in behavior?

  • Yes, this PR will result in a change in behavior.
  • No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

  • Interface/UI changes: syntax, type conversion, expression evaluation, display information
  • Parameter changes: default values, similar parameters but with different default values
  • Policy changes: use new policy to replace old one, functionality automatically enabled
  • Feature removed
  • Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr needs user documentation (for new or modified features or behaviors)
    • I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

  • I have checked the version labels which the pr will be auto-backported to the target branch
    • 3.2
    • 3.1
    • 3.0
    • 2.5

@mergify mergify bot assigned meegoo Dec 8, 2023
@meegoo meegoo force-pushed the fix_report_lost branch 2 times, most recently from 680da23 to fd2f503 Compare December 8, 2023 06:53
@meegoo meegoo marked this pull request as draft December 11, 2023 04:13
@meegoo meegoo force-pushed the fix_report_lost branch 2 times, most recently from 5c9e6cc to ba32027 Compare December 12, 2023 00:12
@meegoo meegoo marked this pull request as ready for review December 12, 2023 00:13
@meegoo meegoo marked this pull request as draft December 12, 2023 04:33
@meegoo meegoo marked this pull request as ready for review December 13, 2023 01:46
@meegoo meegoo enabled auto-merge (squash) December 13, 2023 05:02
…stuck

Signed-off-by: meegoo <meegoo.sr@gmail.com>
Copy link

github-actions bot commented Jan 5, 2024

[FE Incremental Coverage Report]

pass : 0 / 0 (0%)

Copy link

github-actions bot commented Jan 5, 2024

[BE Incremental Coverage Report]

fail : 9 / 28 (32.14%)

file detail

path covered_line new_line coverage not_covered_line_detail
🔵 src/exec/pipeline/pipeline_driver_executor.cpp 0 17 00.00% [323, 324, 325, 326, 327, 328, 329, 331, 332, 334, 335, 339, 340, 342, 349, 350, 351]
🔵 src/exec/pipeline/exec_state_reporter.cpp 9 11 81.82% [312, 318]

@meegoo meegoo merged commit d088b3f into StarRocks:main Jan 5, 2024
44 of 45 checks passed
Copy link

github-actions bot commented Jan 5, 2024

@Mergifyio backport branch-3.2

@github-actions github-actions bot removed the 3.2 label Jan 5, 2024
Copy link

github-actions bot commented Jan 5, 2024

@Mergifyio backport branch-3.1

@github-actions github-actions bot removed the 3.1 label Jan 5, 2024
Copy link

github-actions bot commented Jan 5, 2024

@Mergifyio backport branch-3.0

@github-actions github-actions bot removed the 3.0 label Jan 5, 2024
Copy link

github-actions bot commented Jan 5, 2024

@Mergifyio backport branch-2.5

@github-actions github-actions bot removed the 2.5 label Jan 5, 2024
Copy link
Contributor

mergify bot commented Jan 5, 2024

backport branch-3.2

✅ Backports have been created

Copy link
Contributor

mergify bot commented Jan 5, 2024

backport branch-3.1

✅ Backports have been created

Copy link
Contributor

mergify bot commented Jan 5, 2024

backport branch-3.0

✅ Backports have been created

Copy link
Contributor

mergify bot commented Jan 5, 2024

backport branch-2.5

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Jan 5, 2024
…stuck (#36688)

Signed-off-by: meegoo <meegoo.sr@gmail.com>
(cherry picked from commit d088b3f)

# Conflicts:
#	be/src/exec/pipeline/exec_state_reporter.cpp
mergify bot pushed a commit that referenced this pull request Jan 5, 2024
…stuck (#36688)

Signed-off-by: meegoo <meegoo.sr@gmail.com>
(cherry picked from commit d088b3f)

# Conflicts:
#	be/src/exec/pipeline/exec_state_reporter.cpp
mergify bot pushed a commit that referenced this pull request Jan 5, 2024
…stuck (#36688)

Signed-off-by: meegoo <meegoo.sr@gmail.com>
(cherry picked from commit d088b3f)
mergify bot pushed a commit that referenced this pull request Jan 5, 2024
…stuck (#36688)

Signed-off-by: meegoo <meegoo.sr@gmail.com>
(cherry picked from commit d088b3f)

# Conflicts:
#	be/src/exec/pipeline/exec_state_reporter.cpp
#	be/src/exec/pipeline/exec_state_reporter.h
wanpengfei-git pushed a commit that referenced this pull request Jan 8, 2024
…stuck (backport #36688) (#38565)

Co-authored-by: meegoo <meegoo.sr@gmail.com>
meegoo added a commit that referenced this pull request Jan 12, 2024
…stuck (backport #36688) (#38567)

Signed-off-by: meegoo <meegoo.sr@gmail.com>
Co-authored-by: meegoo <meegoo.sr@gmail.com>
meegoo added a commit that referenced this pull request Jan 12, 2024
…stuck (backport #36688) (#38564)

Signed-off-by: meegoo <meegoo.sr@gmail.com>
Co-authored-by: meegoo <meegoo.sr@gmail.com>
meegoo added a commit that referenced this pull request Jan 12, 2024
…stuck (backport #36688) (#38566)

Signed-off-by: meegoo <meegoo.sr@gmail.com>
Co-authored-by: meegoo <meegoo.sr@gmail.com>
wxl24life pushed a commit to wxl24life/starrocks that referenced this pull request Feb 22, 2024
…s getting stuck (backport StarRocks#36688) (StarRocks#38565)

Co-authored-by: meegoo <meegoo.sr@gmail.com>
caneGuy pushed a commit to caneGuy/starrocks that referenced this pull request Mar 22, 2024
…s getting stuck (backport StarRocks#36688) (StarRocks#38565)

Co-authored-by: meegoo <meegoo.sr@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants