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

Refactor GC related PD APIs #8978

Open
5 tasks
MyonKeminta opened this issue Jan 6, 2025 · 0 comments
Open
5 tasks

Refactor GC related PD APIs #8978

MyonKeminta opened this issue Jan 6, 2025 · 0 comments
Labels
type/development The issue belongs to a development tasks

Comments

@MyonKeminta
Copy link
Contributor

MyonKeminta commented Jan 6, 2025

Development Task

This is the majority part of the refactoring task pingcap/tidb#58720.

A set of new APIs for GC will be implemented which is expected to provide a more comprehensible semantics and recude potential misuses. This will also be the basis for implementing a planned feature name protected snapshots.

Subtasks

Note that protected snapshots won't be included in this phase and will be another separated work after finishing the refactoring.

  • Add new RPC calls to kvproto Add new GC API pingcap/kvproto#1288
  • Add implementation new RPC interfaces. (may need to further breakdown into muitiple subtasks later)
  • Implement the new set of methods on pd.Client interface type.
  • New pd-ctl commands for replacing the current service-gc-safepoint command.
  • Mark the old API deprecated.
@MyonKeminta MyonKeminta added the type/development The issue belongs to a development tasks label Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/development The issue belongs to a development tasks
Projects
None yet
Development

No branches or pull requests

1 participant