-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[Feature](merge-on-write)Support ignore mode for merge-on-write uniqu… #27365
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
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.
clang-tidy made some suggestions
be/src/olap/tablet_meta.cpp
Outdated
| void DeleteBitmap::subset_ignore(const BitmapKey& start, const BitmapKey& end, | ||
| DeleteBitmap* subset_rowset_map) const { |
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.
warning: method 'subset_ignore' can be made static [readability-convert-member-functions-to-static]
| void DeleteBitmap::subset_ignore(const BitmapKey& start, const BitmapKey& end, | |
| DeleteBitmap* subset_rowset_map) const { | |
| static void DeleteBitmap::subset_ignore(const BitmapKey& start, const BitmapKey& end, | |
| DeleteBitmap* subset_rowset_map) { |
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.
clang-tidy made some suggestions
| void DeleteBitmap::subset_ignore(const BitmapKey& start, const BitmapKey& end, | ||
| DeleteBitmap* subset_rowset_map) const { |
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.
warning: method 'subset_ignore' can be made static [readability-convert-member-functions-to-static]
| void DeleteBitmap::subset_ignore(const BitmapKey& start, const BitmapKey& end, | |
| DeleteBitmap* subset_rowset_map) const { | |
| static void DeleteBitmap::subset_ignore(const BitmapKey& start, const BitmapKey& end, | |
| DeleteBitmap* subset_rowset_map) { |
|
run build all |
1 similar comment
|
run build all |
| DeleteBitmap subset_map(tablet_id()); | ||
| input_delete_bitmap.subset({rowset->rowset_id(), seg_id, start_version}, | ||
| {rowset->rowset_id(), seg_id, end_version}, &subset_map); | ||
| input_delete_bitmap.subset_ignore({rowset->rowset_id(), seg_id, start_version}, |
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.
It can't resolve the compaction issue, since the compaction use merge-on-read process to dedup keys, it can't identify which keys should be ignored.
|
We're closing this PR because it hasn't been updated in a while. |
…e table (#21773)
Proposed changes
Issue Number: close #24573
fix data lost bug
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...