-
Notifications
You must be signed in to change notification settings - Fork 409
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
ddl: Support FLASHBACK DATABASE
(release-7.5) (#8424)
#8477
ddl: Support FLASHBACK DATABASE
(release-7.5) (#8424)
#8477
Conversation
FLASHBACK DATABASE
(#8424)FLASHBACK DATABASE
(release-7.5) (#8424)
944c6b9
to
35c2e8b
Compare
/run-all-tests |
|
/run-unit-test |
https://ci.pingcap.net/blue/organizations/jenkins/tiflash-ghpr-unit-tests/detail/tiflash-ghpr-unit-tests/12108/pipeline
|
/run-unit-test |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JaySon-Huang, Lloyd-Pottiger The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
[LGTM Timeline notifier]Timeline:
|
This is an automated cherry-pick of #8424
What problem does this PR solve?
Issue Number: close #8450
Problem Summary:
tidb support
FLASHBACK DATABASE DBName [TO newDBName]
since v6.4.0 https://docs.pingcap.com/tidb/stable/sql-statement-flashback-databaseAfter executing
FLASHBACK DATABASE ... TO ...
, the storage instances in TiFlash are not recovered as non tombstone. After the gc safepoint advanced, the storage instances will be physically drop.What is changed and how it works?
Recover all the tables on the database when
FLASHBACK DATABASE
is executed.Note that the implementation is different from that on release-7.1, release-6.5
Check List
Tests
Side effects
Documentation
Release note