Compare commits

...

1 Commits

Author SHA1 Message Date
Hauser Zhi 9932ad83c5 docs(ecstore): explain multipart abort after member recovery
Co-Authored-By: heihutu <heihutu@gmail.com>
Co-Authored-By: zhi22915 <qiuzgang@gmail.com>
Co-Authored-By: qunjiazhu <qunjiazhu@gmail.com>
2026-12-02 23:14:18 +08:00
2 changed files with 8 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ Counts ignore blank lines and comments; compute them from the files. The lifecyc
| Object put/get/delete/copy/head | Supported | `implemented_tests.txt` |
| CopyObject checksums (CRC32, CRC32C, CRC64NVME, SHA1, SHA256, MD5, SHA512, XXHASH3, XXHASH64, XXHASH128), including source preservation and explicit override | Supported | `crates/e2e_test/src/copy_object_checksum_test.rs` |
| ListObjects/ListObjectsV2 prefix, delimiter, marker, max-keys | Supported | `implemented_tests.txt` |
| Multipart upload create/upload/complete/abort and selected multipart copy/checksum/object-attribute behavior | Supported | `implemented_tests.txt` |
| Multipart upload create/upload/complete/abort and selected multipart copy/checksum/object-attribute behavior | Supported. [Cancellation after a storage member rejoins](../operations/object-lock-contention.md#multipart-cancellation-after-a-storage-member-rejoins) explains the storage requirements for native Abort. | `implemented_tests.txt` |
| Bucket and object tagging | Supported | `implemented_tests.txt` |
| Bucket policy put/get/delete | Supported | `implemented_tests.txt` |
| Public access block put/get/delete | Supported | `implemented_tests.txt` |
+7 -1
View File
@@ -1,6 +1,6 @@
# Object lock contention diagnostics
**Use this when:** an S3 operation returns `ServiceUnavailable` near the namespace lock acquisition deadline, including multipart session creation or abort, or an object GET overlaps PUT or Heal on the same key.
**Use this guide** to diagnose `ServiceUnavailable` during multipart requests or near the namespace lock acquisition deadline. Use it also when an object GET overlaps PUT or Heal on the same key.
## Client-visible acquisition timeouts
@@ -34,6 +34,12 @@ Session creation writes metadata through `write_unique_file_info` and the metada
Capture the response headers, request ID, operation, and the `rustfs_s3_lock_failures_total` counter by `op`, `resource_class`, `mode`, and `reason` during a bounded reproduction. Combine them with acquisition events where available; these events do not yet cover every lifecycle or metadata lock. Do not infer the failing phase from timing alone. Retain HTTP 503 and `ServiceUnavailable` for lock/write-quorum availability failures rather than recoding them as `InternalError` or assuming every failure is request-rate overload. Avoid automatic server-side create retries after uncertain writes: a retry creates a new upload ID and can leave another incomplete session.
## Multipart cancellation after a storage member rejoins
A native `CreateMultipartUpload` can succeed at write quorum while a storage member is offline. The first `AbortMultipartUpload` needs durable closure from every physical slot in that upload's erasure set before it removes staging data. If a returning member already stored the upload's metadata, retry the same upload ID once the original members are available. If a member never stored that metadata, the same upload can still return HTTP 503 `ServiceUnavailable` with `x-rustfs-error-cause: storage_write_quorum` after every member is ready. `ListParts` can succeed for that upload because reading parts requires different evidence.
If this persists, preserve the staging data and retain the request ID and error cause for diagnosis. Changing the namespace lock timeout or scheduling a [stale-upload cleanup](scanner-runtime-controls.md#migrating-from-minio-scanner-settings) leaves the same storage closure requirement in place. The affected upload has no supported cancel-only recovery path. Completing the upload publishes an object. See the [multipart storage authority contract](../architecture/erasure-coding.md#7-write-path-and-write-quorum).
## Capture one acquisition and its competing owners
Enable the existing diagnostic switch before starting the process and add the diagnostic target to the deployment's log filter: