Skip to content

log backup: fix several issues during compact log backup. (#18298)#18316

Merged
ti-chi-bot[bot] merged 6 commits intotikv:release-9.0-beta.1from
ti-chi-bot:cherry-pick-18298-to-release-9.0-beta.1
Mar 21, 2025
Merged

log backup: fix several issues during compact log backup. (#18298)#18316
ti-chi-bot[bot] merged 6 commits intotikv:release-9.0-beta.1from
ti-chi-bot:cherry-pick-18298-to-release-9.0-beta.1

Conversation

@ti-chi-bot
Copy link
Member

This is an automated cherry-pick of #18298

What is changed and how it works?

Issue Number: Close #18308

What's Changed:
1. GCS Atomic Write: Removed the content length=0 check to support atomic writes, aligning with S3 behavior.
2. Assertion Fix: Fixed assertion failures caused by unexpected rollback transactions. see details(#18300)
3. Duplicate File Fix: Resolved issues with duplicate output files causing compacted restore failures.
4. Enhanced logging to reduce noise.

log backup compact: fix several issues during compact a log backup

Related changes

  • PR to update pingcap/docs/pingcap/docs-cn:
  • Need to cherry-pick to the release branch

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No code

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Release note

None

Signed-off-by: 3pointer <luancheng@pingcap.com>
Signed-off-by: 3pointer <luancheng@pingcap.com>
Signed-off-by: 3pointer <luancheng@pingcap.com>
Signed-off-by: 3pointer <luancheng@pingcap.com>
Signed-off-by: 3pointer <luancheng@pingcap.com>
@ti-chi-bot ti-chi-bot added dco-signoff: yes Indicates the PR's author has signed the dco. ok-to-test Indicates a PR is ready to be tested. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. type/cherry-pick-for-release-9.0-beta.1 labels Mar 18, 2025
@ti-chi-bot ti-chi-bot bot added cherry-pick-approved Cherry pick PR approved by release team. and removed do-not-merge/cherry-pick-not-approved labels Mar 20, 2025
@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Mar 21, 2025
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Mar 21, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Leavrth, YuJuncen

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

The pull request process is described here

Details 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 lgtm approved and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Mar 21, 2025
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Mar 21, 2025

[LGTM Timeline notifier]

Timeline:

  • 2025-03-21 02:29:08.335093901 +0000 UTC m=+581842.019329993: ☑️ agreed by Leavrth.
  • 2025-03-21 05:40:30.418304644 +0000 UTC m=+593324.102540740: ☑️ agreed by YuJuncen.

@BornChanger
Copy link
Contributor

/retest

Signed-off-by: Juncen Yu <yujuncen@pingcap.com>
@BornChanger
Copy link
Contributor

/retest

@ti-chi-bot ti-chi-bot bot merged commit 925d458 into tikv:release-9.0-beta.1 Mar 21, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved cherry-pick-approved Cherry pick PR approved by release team. dco-signoff: yes Indicates the PR's author has signed the dco. lgtm ok-to-test Indicates a PR is ready to be tested. release-note-none Denotes a PR that doesn't merit a release note. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. type/cherry-pick-for-release-9.0-beta.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants