Skip to content

Refactor GC related PD APIs and GC procedures #58720

@MyonKeminta

Description

@MyonKeminta

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

Fixes

(...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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions