Skip to content

branch-4.1: [fix](cloud) Remove flaky idempotent injection debug test #66726 - #66755

Merged
yiguolei merged 1 commit into
branch-4.1from
auto-pick-66726-branch-4.1
Aug 14, 2026
Merged

branch-4.1: [fix](cloud) Remove flaky idempotent injection debug test #66726#66755
yiguolei merged 1 commit into
branch-4.1from
auto-pick-66726-branch-4.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #66726

Related PR: #56061

Problem Summary: ShortGetTabletStatsDebugStringTest enables the global
idempotent request injection configuration but does not restore it after
completion. Because meta_service_http_test.cpp and meta_service_test.cpp
are linked into the same test binary, later tests may create delayed
background bthreads.

Those tasks capture MetaServiceProxy through a raw this pointer and can
access impl_ after the proxy is destroyed, causing intermittent
heap-use-after-free, heap-buffer-overflow, or SEGV failures. Remove the
test to prevent this test-binary-wide configuration pollution and the
resulting flaky failures.
@github-actions
github-actions Bot requested a review from yiguolei as a code owner August 14, 2026 03:32
@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@hello-stephen

Copy link
Copy Markdown
Contributor

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

Cloud UT Coverage Report

Increment line coverage 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 77.48% (1909/2464)
Line Coverage 64.36% (34199/53141)
Region Coverage 64.44% (17300/26845)
Branch Coverage 53.98% (9266/17166)

@yiguolei
yiguolei merged commit 0e53b31 into branch-4.1 Aug 14, 2026
29 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants