concept Data & storage
Multipart uploads: parts, completion and abandoned data
A multipart upload becomes an object only when completion succeeds for the listed parts. If you stop before completion, the parts can remain stored; if writes are still in flight, don’t assume an abort has cleared them.
What it means
Uploaded parts and a completed object are separate states in an S3 multipart upload. Even after you send the last part, you have stored parts, not an object assembled from them. To create that object, you submit a completion manifest—a list of part numbers and their ETags—and completion must succeed. S3 multipart upload lifecycle
Within one upload ID, uploading a part with the same number replaces the earlier part. The manifest therefore needs the current ETag for each part you want to include. S3 assembles the listed parts in ascending part-number order; it does not append an uploaded part that you left off the list. Uploading and completing parts
Try it
This local simulation follows one synthetic upload ID. It sends nothing to S3.
Multipart uploads: parts, completion and abandoned data
Track a synthetic upload ID, part numbers and completion/abort states; distinguish stored parts, assembled object and unverified checksum claims.
Local simulation only: no device, service, stored object or database is changed, and no real operation is authorized.
Parts belong to one synthetic upload ID. Uploaded parts alone are not a completed object.
Stored parts are not yet an object
- Upload state
- in-progress
- Uncompleted stored parts
- 2
- Uncompleted part data
- 6 MiB
- Completed object exists in simulation
- No
| Part | Size | ETag token | Replaced earlier same-number part |
|---|---|---|---|
| 1 | 5 MiB | e1 | No |
| 2 | 1 MiB | e2 | No |
S3 general-purpose bucket subset, at most20 events. Synthetic ETag tokens are compared, not computed. No transfer, billing calculation or checksum verification.
Evaluated evidence
- Upload lifecycle action
- inspect
- Evaluated upload events
- part: 1; sizeMiB: 5; etag: e1; replaced: No · part: 2; sizeMiB: 1; etag: e2; replaced: No
- Completion part manifest
- part: 1; etag: e1 · part: 2; etag: e2
- In-flight part evidence
- none
S3 general-purpose bucket teaching subset, at most20 events. Completion assumes no additional checksum-dependent sequencing policy; modes requiring consecutive part numbers are outside this simulation. ETags are synthetic identifiers, not calculated hashes. No transfer, cleanup, billing or real-service acceptance is verified.
About this model
Every input is local synthetic evidence. Numbers stay as raw text until this model validates them. The shown evaluated values come from the same result as the explanation.
Presets replace the entire scenario. Reset restores all starting fields, scenario selection and model state; it does not change the open or closed state of this help or article FAQ.
No external request, device command, stored-input history or measurement is performed.
- Inspect the parts. Leave Part upload events at
1:5 2:1, Upload lifecycle action atinspect, and In-flight part evidence atnone. Part 1 holds 5 MiB and has synthetic ETage1; part 2 holds 1 MiB and hase2. That gives 6 MiB of Uncompleted part data. The upload isin-progress; no object has been assembled. - Change only the action to `complete`. The Completion part manifest,
1:e1 2:e2, names both current parts in order. The 5 MiB first part meets the nonfinal minimum; the 1 MiB second part is allowed because it is last. Under the simulation’s successful-completion assumptions, the result is a 6 MiB object with no uncompleted parts remaining. S3 part size limits - Try a replacement. Keep
completeselected and change the upload events to1:5 2:1 1:6. The third event replaces part 1 with 6 MiB and tokene3. There are still only two stored parts. Completion with the old manifest isrejected:1:e1no longer identifies the current part. Change the manifest to1:e3 2:e2and the modeled assembly is 7 MiB, with part 1 first even though its replacement arrived last.
The event field accepts up to 20 part:sizeMiB entries separated by single spaces. Enter sizes as whole numbers from 0 through 5120: 1:5.0 is invalid input, not a rounded value or a rejected completion. Reset restores all four starting inputs and the default scenario, returns the step and virtual time to zero, and clears errors, history, and comparison.
In practice
If an upload stops, keep its upload ID and current part records separate from any record of successful completion or cleanup. Abandoning an unfinished upload does not itself remove the parts. An abort also needs care when part uploads are still in flight. S3 multipart upload and abort
For the starting parts, abort with In-flight part evidence set to none assumes a successful abort: zero parts remain and no object was assembled. With pending or unknown, the simulation reports unknown for either abort or complete. That is a limit on what you can conclude, not evidence that cleanup or assembly succeeded.
Before using the example in an implementation, check the provider’s current part and checksum rules. For this S3 scope, part numbers run from 1 through 10,000 and each part can be at most 5 GiB. Only the final listed part is exempt from the 5 MiB minimum. S3 multipart upload limits The general-purpose bucket simulation compares ETag tokens without computing a checksum. It excludes checksum policies that require consecutive part numbers starting at 1. A multipart object’s ETag is not necessarily its MD5 digest. S3 multipart upload documentation
Use the manifest to identify which parts belong in the object, and successful completion to establish that they became that object. A matching byte total alone tells you neither.
Frequently asked questions
Editorial questions based on the listed sources and explicitly labeled local examples.
When does the object become available?
In this scoped S3 lifecycle, uploaded parts become the assembled object after successful completion, not merely after the last part-upload event. The in-progress state keeps stored parts separate from object existence.
What remains after an abandoned upload?
The model retains the uploaded parts while the upload is unfinished. A clean abort assumes no in-flight operations; if uploads are still racing, cleanup is left unknown rather than declared complete.
Is the final ETag necessarily an MD5?
No. The S3 documentation warns that a multipart object’s ETag is not necessarily its MD5 digest. This model treats ETags as identifiers and does not claim cryptographic verification from them.
What if completion omits or misidentifies a part?
Completion assembles the listed current parts in order; a missing part or stale ETag can reject it. An unlisted uploaded part is not automatically appended. This lab excludes checksum-dependent sequencing policies, which can additionally require consecutive part numbers beginning with 1.
Sources & model boundaries
Primary references used for this explanation. The interactive example is an educational model, not a live check.
- Uploading objects using multipart upload
Upload parts; Complete; Abort. Parts are not a completed object; reusing a part number replaces its content. Completion specifies part numbers/ETags. In-flight abort cleanup needs care.
Checked .
- Amazon S3 multipart upload limits
Part number; part size; final part exception. Part numbers1–10000, nonfinal part sizes5MiB–5GiB, with no minimum for the final part.
Checked .