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 and GC procedures #58720

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

Refactor GC related PD APIs and GC procedures #58720

MyonKeminta opened this issue Jan 6, 2025 · 0 comments
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@MyonKeminta
Copy link
Contributor

Enhancement

After years of iteration, the GC related code, which originally lacked of proper design, has become a huge historical debt that makes our futher mantainance, development and optimization difficult. Some badly-designed interfaces cause misuses frequently, and these misuses can be dangerous to affect the data correctness. Now, we've planned a refactor to redesign most of these related PD APIs, redefine some terms, and avoid those code that's obscure and easy to misuse. After the refactoring which is expected to make the GC related APIs and concetps more clear and comprehensible, we will then implement a feature named protected snapshots over it, which is expected to help PiTR to reduce their cost to maintain ther backup progress.

Subtasks

(...to be more detailed)

Next step

After finishing the refactoring, we will then implement protected snapshots upon it. We will then track that task in another issue.

@MyonKeminta MyonKeminta added the type/enhancement The issue or PR belongs to an enhancement. label Jan 6, 2025
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