pingcap / pingcap/tidb-operator
Support PiTR with BR and TiCDC
Nobody has claimed this yet.
- 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
- BR full/differential backup/restore
- BR log backup/restore(BR use TiCDC client to generate task)
- BR log undo --ts range
- BR gen differential-backup --differential-backup --log
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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