pingcap / tidb-operator

TiDB operator creates and manages TiDB clusters running in Kubernetes.
https://docs.pingcap.com/tidb-in-kubernetes/
Apache License 2.0
1.22k stars 497 forks source link

ebs br: add resilience to single TiKV crash (#5572) #5585

Closed ti-chi-bot closed 6 months ago

ti-chi-bot commented 6 months ago

This is an automated cherry-pick of #5572

What problem does this PR solve?

This PR provides the resilience to a single TiKV crash due to wal corruption at restore

What is changed and how does it work?

Add a new attribute spec.tolerateSingleTiKVOutage to restore CR. When it's set to true, restore to the tc can tolerate a single TiKV outage due to wal log corruption issue.

Code changes

Tests

Side effects

Related changes

Release Notes

Please refer to Release Notes Language Style Guide before writing the release note.

ti-chi-bot[bot] commented 6 months ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please ask for approval from csuzhangxc, ensuring that each of them provides their approval before proceeding. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/pingcap/tidb-operator/blob/release-1.5/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment