Skip to content

Conversation

@bobhan1
Copy link
Contributor

@bobhan1 bobhan1 commented Jun 30, 2025

What problem does this PR solve?

Before:

image

After

image

Release note

None

Check List (For Author)

  • Test

    • Regression test
    • Unit Test
    • Manual test (add detailed scripts or steps below)
    • No need to test or manual test. Explain why:
      • This is a refactor/code format and no logic has been changed.
      • Previous test can cover this change.
      • No code files have been changed.
      • Other reason
  • Behavior changed:

    • No.
    • Yes.
  • Does this need documentation?

    • No.
    • Yes.

Check List (For Reviewer who merge this PR)

  • Confirm the release note
  • Confirm test cases
  • Confirm document
  • Add branch pick label

@Thearas
Copy link
Contributor

Thearas commented Jun 30, 2025

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?

@bobhan1 bobhan1 force-pushed the fast-retry-for-mow-compaction-job-commit branch from 922e0ed to 142bae5 Compare June 30, 2025 02:40
@bobhan1
Copy link
Contributor Author

bobhan1 commented Jun 30, 2025

run buildall

@hello-stephen
Copy link
Contributor

Cloud UT Coverage Report

Increment line coverage 79.03% (49/62) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 83.51% (1170/1401)
Line Coverage 67.40% (20616/30586)
Region Coverage 67.02% (10256/15302)
Branch Coverage 56.23% (5362/9536)

@bobhan1 bobhan1 marked this pull request as ready for review June 30, 2025 07:52
@bobhan1 bobhan1 force-pushed the fast-retry-for-mow-compaction-job-commit branch 2 times, most recently from 97ee8a6 to abde7f0 Compare July 1, 2025 02:30
zhannngchen
zhannngchen previously approved these changes Jul 1, 2025
Copy link
Contributor

@zhannngchen zhannngchen left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jul 1, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jul 1, 2025

PR approved by at least one committer and no changes requested.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 1, 2025

PR approved by anyone and no changes requested.

return;
}
for (int retry = 0; retry <= 1; retry++) {
response->Clear();
Copy link
Contributor

Choose a reason for hiding this comment

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

msg should be empty.

}
}

if (retry == 0 && !request->job().compaction().empty() &&
Copy link
Contributor

Choose a reason for hiding this comment

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

fast retry only when the err is TxnErrorCode::TXN_CONFLICT?

@bobhan1 bobhan1 force-pushed the fast-retry-for-mow-compaction-job-commit branch from abde7f0 to 233e234 Compare July 1, 2025 08:21
@github-actions github-actions bot removed the approved Indicates a PR has been approved by one committer. label Jul 1, 2025
@bobhan1
Copy link
Contributor Author

bobhan1 commented Jul 1, 2025

run buildall

@doris-robot
Copy link

Cloud UT Coverage Report

Increment line coverage 75.38% (49/65) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 83.51% (1170/1401)
Line Coverage 67.42% (20622/30589)
Region Coverage 67.02% (10256/15302)
Branch Coverage 56.25% (5364/9536)

Copy link
Contributor

@zhannngchen zhannngchen left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions github-actions bot added the approved Indicates a PR has been approved by one committer. label Jul 4, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Jul 4, 2025

PR approved by at least one committer and no changes requested.

Copy link
Contributor

@dataroaring dataroaring left a comment

Choose a reason for hiding this comment

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

LGTM

@dataroaring dataroaring merged commit 285b1e4 into apache:master Jul 7, 2025
29 checks passed
morrySnow pushed a commit that referenced this pull request Jul 7, 2025
… for mow tablet #52476 (#52843)

Cherry-picked from #52476

Co-authored-by: bobhan1 <baohan@selectdb.com>
etah000 pushed a commit to etah000/doris that referenced this pull request Jul 7, 2025
… for mow tablet apache#52476 (apache#52843)

Cherry-picked from apache#52476

Co-authored-by: bobhan1 <baohan@selectdb.com>
dataroaring pushed a commit that referenced this pull request Jul 9, 2025
csun5285 pushed a commit to csun5285/doris that referenced this pull request Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by one committer. dev/3.0.7-merged dev/3.1.0-merged reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants