-
Notifications
You must be signed in to change notification settings - Fork 3.7k
branch-3.0: [fix](database) Fix rename db and create table race #55054 #55990
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
branch-3.0: [fix](database) Fix rename db and create table race #55054 #55990
Conversation
Add db lock to protect rename db editlog, and when writing create table editlog, check whether the db name has been modified. If the db name has been modified, the table creation statement will report an error.
|
run buildall |
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
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. |
|
run buildall |
|
run buildall |
TPC-H: Total hot run time: 39860 ms |
TPC-DS: Total hot run time: 192347 ms |
ClickBench: Total hot run time: 30.38 s |
FE UT Coverage ReportIncrement line coverage |
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
cherry pick from #55054