Skip to content

Implement idempotency into the final concat request#1365

Open
ollie-sutton wants to merge 1 commit intotus:mainfrom
ollie-sutton:idempotent-concat
Open

Implement idempotency into the final concat request#1365
ollie-sutton wants to merge 1 commit intotus:mainfrom
ollie-sutton:idempotent-concat

Conversation

@ollie-sutton
Copy link
Copy Markdown

@ollie-sutton ollie-sutton commented Apr 9, 2026

Summary

  • Fix non-idempotent concatenation that creates duplicate uploads when requests are interrupted (e.g. by WAF timeouts)
  • Derive a deterministic upload ID from partial upload IDs using SHA-256, so retried concat requests target the same final upload
  • Before creating a new final upload, check if one already exists: return it if complete, retry concat if incomplete, or error if in a corrupted partial state

Issue

See #1364

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.

1 participant