-
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](backup) Read db name from BackupJobInfo #39855
Conversation
PR apache#37412 read the db name from BackupMeta, but it is not compatible, since BackupMeta is not serialized to json.
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
run buildall |
TPC-H: Total hot run time: 37774 ms
|
TPC-DS: Total hot run time: 187084 ms
|
ClickBench: Total hot run time: 32.13 s
|
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
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 apache#37412, apache#39855 Previously, during restore, the database name in the CREATE VIEW statement was not modified, causing the restored view to be unviewable with the SHOW VIEW command. This PR retains the original cluster's database name in the BackupMeta and manually replaces it with the new cluster's database name in the CREATE VIEW statement during restore.
PR apache#37412 read the db name from BackupMeta, but it is not compatible, since BackupMeta is not serialized to json.
Cherry-pick #37412, #39855 Previously, during restore, the database name in the CREATE VIEW statement was not modified, causing the restored view to be unviewable with the SHOW VIEW command. This PR retains the original cluster's database name in the BackupMeta and manually replaces it with the new cluster's database name in the CREATE VIEW statement during restore.
PR apache#37412 read the db name from BackupMeta, but it is not compatible, since BackupMeta is not serialized to json.
) cherry pick from apache#39855
PR #37412 read the db name from BackupMeta, but it is not compatible, since BackupMeta is not serialized to json.