-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
[fix](cluster key) fix cluster key duplicated key #44776
[fix](cluster key) fix cluster key duplicated key #44776
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run buildall |
TeamCity be ut coverage result: |
run p0 |
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. |
ce808d0
to
7323667
Compare
run buildall |
TeamCity be ut coverage result: |
7323667
to
ef75aea
Compare
run buildall |
TeamCity be ut coverage result: |
ef75aea
to
dc2ea14
Compare
run buildall |
TeamCity be ut coverage result: |
run buildall |
TeamCity be ut coverage result: |
run external |
OlapStopWatch watch; | ||
std::vector<RowsetSharedPtr> rowsets; | ||
for (const auto& rowset : _input_rowsets) { | ||
std::lock_guard rwlock(tablet()->get_rowset_update_lock()); |
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's not necessary to hold the rowset_update_lock
OlapStopWatch watch; | ||
std::vector<RowsetSharedPtr> rowsets; | ||
for (const auto& rowset : _input_rowsets) { | ||
Status st = _tablet->update_delete_bitmap_without_lock(_tablet, rowset, &rowsets); |
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.
need to hold the header lock?
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. |
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
the duplicated keys is happend when:
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)