-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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](olap) Set the original tablet state to TABLET_SHUTDOWN #45812
[fix](olap) Set the original tablet state to TABLET_SHUTDOWN #45812
Conversation
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
run p0 |
run compile |
when loading new tablet from disk during restore. Otherwise the other thread may hold the old tablet object, and save meta too.
dda4093
to
e190eee
Compare
run buildall |
TeamCity be ut coverage result: |
run buildall |
run buildall |
TPC-H: Total hot run time: 40062 ms
|
TeamCity be ut coverage result: |
TPC-DS: Total hot run time: 189598 ms
|
ClickBench: Total hot run time: 32.85 s
|
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. |
Set the original tablet state to TABLET_SHUTDOWN when loading a new tablet from the disk during the restore job. Otherwise, the other thread may hold the old tablet object, and save meta too.
…OWN #45812 (#45891) Cherry-picked from #45812 Co-authored-by: walter <[email protected]>
What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Set the original tablet state to TABLET_SHUTDOWN when loading a new tablet from the disk during the restore job. Otherwise, the other thread may hold the old tablet object, and save meta too.
Release note
None
Check List (For Author)
Test
Behavior changed:
Does this need documentation?
Check List (For Reviewer who merge this PR)