Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

br: add a new CRD for compact backup #5822

Merged
merged 73 commits into from
Jan 13, 2025
Merged

Conversation

RidRisR
Copy link
Contributor

@RidRisR RidRisR commented Oct 28, 2024

What problem does this PR solve?

Ref: pingcap/tidb#56522

What is changed and how does it work?

Add a new CRD controls the compact backup. It will collect the log backup data and try to compact it.

Code changes

  • Has Go code change
  • Has CI related scripts change

Tests

  • Unit test
  • E2E test
  • Manual test
  • No code

Side effects

  • Breaking backward compatibility
  • Other side effects:

Related changes

  • Need to cherry-pick to the release branch
  • Need to update the documentation

Release Notes

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

Add a new CRD controls the `compact backup`. It will collect the log backup data and try to compact it.

@codecov-commenter
Copy link

codecov-commenter commented Dec 4, 2024

Codecov Report

Attention: Patch coverage is 40.05006% with 479 lines in your changes missing coverage. Please review.

Project coverage is 62.94%. Comparing base (a16b2e8) to head (129f671).
Report is 21 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5822      +/-   ##
==========================================
+ Coverage   57.19%   62.94%   +5.75%     
==========================================
  Files         259      269      +10     
  Lines       33233    46450   +13217     
==========================================
+ Hits        19008    29240   +10232     
- Misses      12291    15207    +2916     
- Partials     1934     2003      +69     
Flag Coverage Δ
e2e 47.10% <67.38%> (?)
unittest 55.99% <0.87%> (-1.21%) ⬇️

@RidRisR
Copy link
Contributor Author

RidRisR commented Dec 4, 2024

/retest

Copy link
Contributor

ti-chi-bot bot commented Jan 8, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: WangLe1321

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

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Jan 8, 2025
@ti-chi-bot ti-chi-bot bot removed the lgtm label Jan 8, 2025
Copy link
Contributor

ti-chi-bot bot commented Jan 8, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-01-08 02:30:12.621029089 +0000 UTC m=+320755.909860794: ☑️ agreed by WangLe1321.
  • 2025-01-08 02:33:48.628480408 +0000 UTC m=+320971.917312114: ✖️🔁 reset by ti-chi-bot[bot].

Copy link
Contributor

ti-chi-bot bot commented Jan 8, 2025

New changes are detected. LGTM label has been removed.

@csuzhangxc
Copy link
Member

/run-all-tests

@csuzhangxc
Copy link
Member

/run-pull-e2e-kind

@csuzhangxc
Copy link
Member

/run-pull-e2e-kind-br

@csuzhangxc
Copy link
Member

/run-pull-e2e-kind-serial

@csuzhangxc
Copy link
Member

/run-pull-e2e-kind-br

@RidRisR
Copy link
Contributor Author

RidRisR commented Jan 10, 2025

/run-all-tests

@RidRisR
Copy link
Contributor Author

RidRisR commented Jan 10, 2025

/run-pull-e2e-kind-serial

@RidRisR
Copy link
Contributor Author

RidRisR commented Jan 10, 2025

/run-pull-e2e-kind

2 similar comments
@BornChanger
Copy link
Contributor

/run-pull-e2e-kind

@csuzhangxc
Copy link
Member

/run-pull-e2e-kind

@csuzhangxc csuzhangxc merged commit b80e1f9 into pingcap:master Jan 13, 2025
12 of 13 checks passed
RidRisR added a commit to RidRisR/tidb-operator that referenced this pull request Jan 13, 2025
RidRisR added a commit to RidRisR/tidb-operator that referenced this pull request Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants