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.2k stars 490 forks source link

Check wal only 1.5 #5582

Closed BornChanger closed 3 months ago

BornChanger commented 3 months ago

What problem does this PR solve?

What is changed and how does it work?

This PR provide restore capability to check wal corruption only and mitigate from a single TiKV outage.

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 3 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 bornchanger, 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
codecov-commenter commented 3 months ago

Codecov Report

Attention: Patch coverage is 19.04762% with 17 lines in your changes are missing coverage. Please review.

Project coverage is 61.58%. Comparing base (a1425dc) to head (3e9c664).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release-1.5 #5582 +/- ## =============================================== - Coverage 61.58% 61.58% -0.01% =============================================== Files 229 229 Lines 29300 29309 +9 =============================================== + Hits 18045 18050 +5 - Misses 9478 9483 +5 + Partials 1777 1776 -1 ``` | [Flag](https://app.codecov.io/gh/pingcap/tidb-operator/pull/5582/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | Coverage Δ | | |---|---|---| | [unittest](https://app.codecov.io/gh/pingcap/tidb-operator/pull/5582/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=pingcap) | `61.58% <19.04%> (-0.01%)` | :arrow_down: |