-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Opt](cloud-mow) Do fast retry when commit compaction job for mow tablet #52476
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
[Opt](cloud-mow) Do fast retry when commit compaction job for mow tablet #52476
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
922e0ed to
142bae5
Compare
|
run buildall |
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
97ee8a6 to
abde7f0
Compare
zhannngchen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
| return; | ||
| } | ||
| for (int retry = 0; retry <= 1; retry++) { | ||
| response->Clear(); |
There was a problem hiding this comment.
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() && |
There was a problem hiding this comment.
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?
abde7f0 to
233e234
Compare
|
run buildall |
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
zhannngchen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
PR approved by at least one committer and no changes requested. |
dataroaring
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…let (#52476) ### What problem does this PR solve? #### Before:  #### After 
… for mow tablet apache#52476 (apache#52843) Cherry-picked from apache#52476 Co-authored-by: bobhan1 <baohan@selectdb.com>
… job for mow tablet apache#52476 (apache#4149) pick apache#52476
What problem does this PR solve?
Before:
After
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)