Skip to content

Log S3 multipart completions that return 200 but actually failed - #14093

Merged
neethuhaneesha merged 1 commit into
apple:release-7.4from
neethuhaneesha:multiPartUploadLog-7.4
Sep 18, 2026
Merged

neethuhaneesha merged 1 commit into
apple:release-7.4from
neethuhaneesha:multiPartUploadLog-7.4

Conversation

@neethuhaneesha

@neethuhaneesha neethuhaneesha commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Log S3 multipart completions that return 200 but actually failed

100k simulation running:
20260918-190334-neethu1-ca2d55d6097c29dd compressed=True data_size=41751057 duration=2914763 ended=100000 fail_fast=10 max_runs=100000 pass=100000 priority=100 remaining=0 runtime=0:45:28 sanity=False started=100000 stopped=20260918-194902 submitted=20260918-190334 timeout=5400 username=neethu1

if (r->code == 200 && status != MultipartCompletionStatus::Success) {
// S3 returns 200 as soon as it begins processing CompleteMultipartUpload rather than when it
// succeeds, and reports the real outcome in the body.
TraceEvent("S3MultipartCompletionFalseSuccess")

@saintstack saintstack Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a suppressFor? In case the error lasts a while....

@neethuhaneesha neethuhaneesha Sep 18, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally we should not have so many of these, do you think we should still suppress?

My main idea is not to miss any of those uploads, in case we want to debug the snapshots.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With suppressing, we'd still have a suppress count field which is helpful to know many times we reached this line. But yeah, won't have detail fields and won't be able to group by let's say S3ErrorCode.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discussed offline and decided not to do any change.

if (matches) {
bstore->forgetMultipartUploadToken(uploadID);
TraceEvent("S3MultipartCompletionReconciled").detail("Bucket", bucket).detail("Object", object);
TraceEvent("S3MultipartCompletionReconciled")

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ditto

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang-arm on Linux RHEL 9

  • Commit ID: 25688ce
  • Duration 0:45:27
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang on Linux RHEL 9

  • Commit ID: 25688ce
  • Duration 0:55:12
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr on Linux RHEL 9

  • Commit ID: 25688ce
  • Duration 1:06:17
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-cluster-tests on Linux RHEL 9

  • Commit ID: 25688ce
  • Duration 1:48:56
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)
  • Cluster Test Logs zip file of the test logs (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos-m1 on macOS 14.x

  • Commit ID: 25688ce
  • Duration 2:16:28
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@neethuhaneesha
neethuhaneesha merged commit b392267 into apple:release-7.4 Sep 18, 2026
6 of 7 checks passed
@foundationdb-ci

This comment has been minimized.

@neethuhaneesha
neethuhaneesha deleted the multiPartUploadLog-7.4 branch September 19, 2026 01:38
@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos on macOS 14.x

  • Commit ID: 25688ce
  • Duration 1:16:14
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants