mirror of
https://github.com/rustfs/rustfs.git
synced 2026-11-27 10:59:04 +00:00
1.8 KiB
1.8 KiB
S3 stack upgrade and rollback
The gateway release serves S3 with rustfs/gateway. Remove RUSTFS_S3_STACK from service units, container environments and Helm values before upgrading. Even an empty setting prevents startup. Keep the previous release binary or image digest with the deployment configuration.
Roll back to the previous release
- Check the target release against the storage format version floors. If the cluster has written data or metadata that the target cannot read, stop here. The S3 stack switch itself requires no data migration.
- Stop one node, restore the previous RustFS binary or image and start it with the same volumes and configuration. Follow the rolling restart procedure. Wait for the node to report ready and for its peers to report its drives online before replacing another node.
- Through the restored node, read an object written after the upgrade and compare its contents or checksum. Read a bucket configuration used by the application. If an upload was in progress, list its parts and compare their numbers, sizes and ETags with the client's record. Pause the rollout if any check fails.
Client-visible error change
| Conformance case | What clients see |
|---|---|
c-sig-0598 (R-053) |
For an access key the S3 parser cannot read, both versions return HTTP 403. The gateway returns the XML error code AccessDenied. The legacy binary returns InvalidAccessKeyId. Clients that classify these errors by code need to handle both during a rollout. |
The case is recorded in the pinned gateway conformance rulings.