Skip to content
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

GC: Support TiDB BR,Lightning,Dumpling use keyspace level GC when keyspace already enable it #51622

Open
Tracked by #51593
ystaticy opened this issue Mar 8, 2024 · 0 comments
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@ystaticy
Copy link
Contributor

ystaticy commented Mar 8, 2024

Enhancement

Support TiDB BR,Lightning,Dumpling use keyspace level GC when keyspace already enable it.
ref #51300

Implementation

If you want to import or export data from a keyspace, first get the keyspace meta from PD and check whether gc_management_type in meta is keyspace_level_gc. If it is keyspace_level_gc then use the PD client function UpdateServiceSafePointV2 to update the service safe point.

@ystaticy ystaticy added the type/enhancement The issue or PR belongs to an enhancement. label Mar 8, 2024
@ystaticy ystaticy changed the title GC: Support TiDB BR,Lightning,Dumpling use safe point v2 interface when keyspace already enable safe point v2. GC: Support TiDB BR,Lightning,Dumpling use keyspace level GC when keyspace already enable it May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant