-
Notifications
You must be signed in to change notification settings - Fork 262
Regression in 2.6.42: S3 DeleteObjects fails on Huawei S3 (missing Content-MD5) #1329
Copy link
Copy link
Closed
Milestone
Description
Problem
After upgrading to 2.6.42, deleting remote backups on some S3-compatible providers fails because the new batch delete path (DeleteObjects) is used by default.
Example error:
api error InvalidRequest: Missing required header for this request: Content-MD5
This is reproducible on Huawei S3.
Why this regressed in 2.6.42
2.6.42 introduced batch deletion via DeleteObjects. Some S3-compatible providers require Content-MD5 for this API call. Previous versions (2.6.41 and earlier) used one-by-one DeleteObject and did not hit this requirement.
Current workaround
Set:
s3:
request_content_md5: trueExpected behavior
When batch delete fails specifically due to missing Content-MD5, clickhouse-backup should retry once with Content-MD5 automatically, so existing installations keep working after upgrade.
Acceptance criteria
RemoveBackupRemotewith S3 batch delete succeeds on providers that requireContent-MD5.- No behavior change for AWS S3 and providers that do not require it.
- Existing explicit
request_content_md5: truestill works.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels