pingcap / pingcap/tidb-operator

Support PiTR with BR and TiCDC

Open
#3,017 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority/P0 status/TODO tools/br
Dominant language
Go
Stars
1.3k
Forks
540
Avg merge
3d 2h
Merged PRs (30d)
18

Description

Feature Request

Is your feature request related to a problem? Please describe:

After the first version of PiTR https://github.com/pingcap/br/issues/325 finished.
It's is better to support it with operator. it will improve the availability of TiDB cluster.

Describe the feature you'd like:

Basically operator need integrate several functions in BR and TiCDC to implement PiTR, and according to current conclusion,
operator only need interact with BR to do PiTR. such as

  1. BR full/differential backup/restore
  2. BR log backup/restore(BR use TiCDC client to generate task)
  3. BR log undo --ts range
  4. BR gen differential-backup --differential-backup --log
  5. BR checksum

Describe alternatives you've considered:

discussed with @DanielZhangQD , we will use CRD to integrate PITR in tidb-operator, plan in Q4

Teachability, Documentation, Adoption, Migration Strategy:

Workload estimation(person-day)

  • Design+Develop: 20
  • QA: 5
  • Document: 5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading BR issue #325 and the proposed CRD integration plan for tidb-operator. Map how the operator would expose BR full, differential, log backup/restore, log undo, differential-backup, and checksum operations with TiCDC involved; done means the PiTR workflow is integrated through the operator with the planned QA and documentation coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
databases, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.