-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[improve](cloud-mow) reduce ms update_delete_bitmap kv confict #47375
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
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
249e84b to
59c93cb
Compare
| std::string lock_val; | ||
| DeleteBitmapUpdateLockPB lock_info; | ||
| auto err = txn->get(lock_key, &lock_val); | ||
| auto err = txn->get(lock_key, &lock_val, lock_id == -1 /*snapshot*/); |
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.
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.
Besides, the following test cases are also needed :)
- compaction-load conflict
- compaction-compaction conflict
- ??? load-compaction conflict
59c93cb to
a2526d1
Compare
|
run buildall |
|
TeamCity cloud ut coverage result: |
a2526d1 to
4ee0477
Compare
4ee0477 to
bd9f7a6
Compare
|
run buildall |
Cloud UT Coverage ReportIncrement line coverage Increment coverage report
|
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
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
update_delete_bitmapmay split to several transactions to avoid delete bitmap size is larger than the fdb transaction limitupdate_delete_bitmap.update_delete_bitmapwill failcommit_txnorcommit_jobcan handle itRelease note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)