Skip to content

br: add content length for multi part upload (#19358)#19377

Merged
v01dstar merged 5 commits intotikv:release-8.5-20260215-v8.5.5from
ti-chi-bot:cherry-pick-19358-to-release-8.5-20260215-v8.5.5
Feb 15, 2026
Merged

br: add content length for multi part upload (#19358)#19377
v01dstar merged 5 commits intotikv:release-8.5-20260215-v8.5.5from
ti-chi-bot:cherry-pick-19358-to-release-8.5-20260215-v8.5.5

Conversation

@ti-chi-bot
Copy link
Member

This is an automated cherry-pick of #19358

What is changed and how it works?

Issue Number: Close #19352

What's Changed:

add Content-Length into HTTP Request Header to make it compatible with GCP S3 compatible service.

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

Summary by CodeRabbit

  • Bug Fixes

    • Improved S3 multipart upload behavior so multipart uploads, completes, and aborts include correct HTTP length handling, reducing multipart upload errors.
  • Tests

    • Added tests covering multipart abort flows and updated tests for multipart uploads.
    • Adjusted timing metric tests to verify upload-part histogram behavior and ensure reliable histogram tracking.

Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>
Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>
Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>
Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>
Signed-off-by: Jianjun Liao <jianjun.liao@outlook.com>
@ti-chi-bot ti-chi-bot added dco-signoff: yes Indicates the PR's author has signed the dco. 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-8.5-20260215-v8.5.5 labels Feb 15, 2026
@coderabbitai
Copy link

coderabbitai bot commented Feb 15, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ti-chi-bot ti-chi-bot bot added needs-1-more-lgtm Indicates a PR needs 1 more LGTM. approved labels Feb 15, 2026
@ti-chi-bot ti-chi-bot bot added the lgtm label Feb 15, 2026
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Feb 15, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: v01dstar, 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 removed the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Feb 15, 2026
@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Feb 15, 2026

[LGTM Timeline notifier]

Timeline:

  • 2026-02-15 07:40:06.319515688 +0000 UTC m=+84259.334209148: ☑️ agreed by YuJuncen.
  • 2026-02-15 07:40:52.210050547 +0000 UTC m=+84305.224744007: ☑️ agreed by v01dstar.

@ti-chi-bot
Copy link
Contributor

ti-chi-bot bot commented Feb 15, 2026

@ti-chi-bot: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-unit-test fe91226 link true /test pull-unit-test

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@YuJuncen YuJuncen assigned Leavrth and unassigned Leavrth Feb 15, 2026
@v01dstar v01dstar merged commit 436504d into tikv:release-8.5-20260215-v8.5.5 Feb 15, 2026
3 of 5 checks passed
@v01dstar v01dstar deleted the cherry-pick-19358-to-release-8.5-20260215-v8.5.5 branch February 15, 2026 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved dco-signoff: yes Indicates the PR's author has signed the dco. lgtm 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-8.5-20260215-v8.5.5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants