Design Records
Design records document the engineering decisions behind PGSTY SILO: root causes, S3 and IAM protocol invariants, trade-offs against rejected alternatives, operational limits, and regression coverage.
November 11: Pre-Release Audit Repairs
All server design records in this section shipped in SILO Server 20261112 (RELEASE.2026-11-12T00-00-00Z).
- Site Replication Healing: Lock-Free Snapshots to Prevent Re-Entrant RWMutex Deadlocks (#341): Why
healIAMSystemre-acquiringsiteReplicationSys.Lock.RLock()inside six active read-lock scopes permanently deadlocks IAM healing and configuration writes when a writer queues on Go’ssync.RWMutex, and why snapshotting in-memory peer state before cluster storage I/O is necessary and sufficient. - Pool Decommission: Monotonic Physical Progress, Quorum-Safe Offline Drives, and Corrupted Metadata Guards (#334, PR #335, #340): Why parent objects (
a/b) occluding nested child keys (a/b/c) stall pool decommission and concurrent sibling-version deletes strand already-migrated versions on source drives, whycheckAfterDecomBucketfailed on offline drives within erasure read tolerance, and how quorum-tolerant physical checks preserve strict corruption guards on online drives. - Multi-Pool CopyObject: Cross-Pool Historical Version Self-Copy, Moving-Pool Authority, and Compression Indexes (#343): Why rolling back to a historical version in another server pool failed with
404 NoSuchVersion, whyprepareCopyObjectmust separate authoritative in-place updates on moving pools from active-pool stream rewrites before encryption/compression transforms, and why pooled rewrites forwardIndexCB. - Batch Key Rotation: Persisting KMS Associated-Data Context and Guarding UTF-8 Round-Trips (#346): Why a value-receiver
Validate()and unpersistedmsg:"-"field silently droppedencryption.contexton every SSE-KMS batch key rotation since 2023, why stateless decoding from persisted job options survives retries and restarts, and why invalid UTF-8 is rejected before sealing KMS keys.
November 10: Found in Release Review
- Lifecycle History: One Version Under the Headers of Two Releases (#332): Why lifecycle expiry of data written by a MinIO release before 2024-04-28 is refused for good once some drives of its erasure set were replaced, and why taking two release-dependent header fields out of the revision key is the minimum complete repair.
November 9: Console Languages
- Adding Multilingual Support to SILO: Ten UI languages shipped in Console 2.7.0 and embedded in SILO Server 20261109 (Console 2.6.0 shipped English and Chinese only; includes Portuguese from #83 and Turkish requested in silo#277), maintenance tiers, English fallback, and Arabic RTL, with measured gzip and cache tradeoffs behind per-language assets and eager loading.
November 6: Found in Release Acceptance
- A Partial View Must Not Report an Existing Object as Missing (shipped in SILO Server 20261109): Why a node that reaches only some drives can answer 404 for an object that exists, and why “not found” must require an answer from every drive.
- A Failed Multipart Completion Can Strand the Upload (deferred past SILO Server 20261109): Why a completion that misses write quorum can strand the upload until stale-upload cleanup, and why the repair is deferred past
SILO Server 20261109alongside storage RPC fencing.
November 4: Release-Blocking Lifecycle Fixes
All server design records in this section shipped in SILO Server 20261109; the Console quota validation repair shipped in standalone Console 2.6.0 and Console 2.7.0 and embedded in SILO Server 20261109.
- Multi-Pool Lifecycle Expiry: Decide on the Whole Object (#278, #279): Why an expiry decided on the versions of one pool hides, deletes, or resurrects versions in another pool, and why a recheck on the merged version list under the object lock is the minimum complete repair.
- Restored Copies: Expire the Copy, Not the Object (#281, #282): Why the expiry of a restored current version hid the object or stripped an older null version, and which storage and native-restore safeguards ship with the exact-version fix.
- Native Restore in Two Phases (#284): Why a native restore held the object lock for its whole tier download, why the first #281 safeguards also stranded failed ordinary uploads, and how staging outside the lock with a short, checked commit replaces the private upload.
- Audit Webhooks After a Peer Reload (#259): Why a runtime audit_webhook change leaves every server but the serving one with a stopped target, which logger subsystems share it, and why building logger targets on the server context plus opening the queue store first is the minimum complete repair.
- Failed Writes and Phantom Empty Prefixes (#285, #286): Why a write whose staged data vanished before the remote rename leaves an empty object directory that later lists as an empty prefix, and why removing it on both rename failure paths is sufficient.
- Heal Dry Run Must Not Delete Data (from #280): Why a dry-run heal could delete the last metadata copies of a dangling object and run a real bucket heal on remote nodes, and why an early return plus forwarding the dry-run flag to peers closes both paths.
- Lifecycle Delete-All Must Stay on One Key (found during review of #278): Why ExpiredObjectAllVersions, DelMarkerExpiration, and the default batch-expiration purge delete every other key under the expired key’s name, and why purging the key’s own versions by ID after a recheck is the minimum safe repair.
- Bucket Quota in the Console: List Display and Numeric Validation (silo-console#72, silo-console#73): Why a Console-set quota showed as “-” in the bucket list, why bucket creation could turn a huge quota into one byte, where both came from, and what shipped in standalone Console 2.6.0 and Console 2.7.0 and embedded in SILO Server 20261109.
- Lock Domains of Large Single-Pool Clusters: Why DELETE and CopyObject fail to exclude PUT on the same key in single-pool clusters of 18 or more hosts, which layouts that covers, and the routing change that closes it.
November 1: Pool Migration Integrity Review
All pool-migration and tier-cleanup fixes in this section shipped in SILO Server 20261109.
- Pool Migration Integrity Review: #261, #263, and #265: A maintainer review of three reports and their fixes, including the contributor merge of #266 and maintainer follow-up #276.
- Mixed EC Layouts and Migration Listing (#261, #262): Why a readable object can disappear from decommission and rebalance listings after an interrupted degraded overwrite, and why the narrow recount in #262 is sufficient.
- Tier Free Versions Are Internal Cleanup Records (#263, #264): Why a free version must stay visible to healing but must not become a user-visible delete marker or a migration version.
- ILM Expiry and Pool Migration Ordering (#265, #266, #276): Why a versioned Expiration marker must not cause the current version to be skipped, and how the maintainer follow-up preserves tier cleanup and completion semantics.
October 24: FULL_OBJECT Checksum Replication
- FULL_OBJECT Checksum Replication: Preserve the Type at Upload Initiation (
#254,#255): Why dropping the checksum type makes valid multipart CRC objects fail replication, how one shared header fix also restores the existing CopyObject path, and the source-upgrade and acceptance boundaries.
October 24: Multi-Pool Deletion and Placement
-
Multi-Pool Deletion: Preserve the Latest Copy on Failure (
#256,#257): Why an online-drive preflight cannot protect against later I/O failures, how staged cleanup preserves each item’s authoritative copy, and the retry, tier-reference, performance, and compatibility boundaries of the merged fix. -
Overwrite Pool Affinity: Why #245 Was Not Adopted (
#245): The original placement problem, request-aware quorum and health improvements, unversioned-only scope, two rounds of m3 performance measurements, and the decision to stop after small-object overwrite regressions remained. The experimental changes were not merged.
October 23: Alias Regions
- Alias regions: Persistent per-alias regions, client-cache isolation, and upgrade, downgrade and credential-rotation boundaries, reconciled with mcli 20261109.
October 23 IAM & KMS Design Notes
- LDAP Long DNs: Restoring Login Without Hiding Revocation Errors (
#250): How\xxhex escaping inNormalizeDNtriggers the 255-byte single-component filename limit on the object IAM backend, and whyloadIAMConfigBytesWithMetadataclassifies only impossible pure-ASCII path components (> 255bytes) aserrConfigNotFound. - IAM Policy Reloads: Lock Scope, Cancellation, and Time Budgets (
#251): Moving policy reload and KMS decryption outside the authentication-cache lock while retainingwriteMu, threading request cancellation end-to-end toKES.Decrypt, and keepingetcd30-second RPC deadlines separate from total decryption budgets.
Server 20261018 Key Design Notes
For the Server 20261018 release, see these core architecture notes:
- Object Lock Governance & Overwrite Protection (
SN-2026-015,SN-2026-016) - IAM Admin Credential Authorization (
SN-2026-017) - Durable IAM & Scoped STS Revocations (
SN-2026-013) - LIST Recovery Lock Cost
- ListMultipartUploads Rollback & Capacity Boundaries
- Multi-Pool Consistency & Rebalance Protection
- KES & OpenBao Integration
-
DSN-Only Database Notifications: A Compatibility Boundary for #53
Shipped in SILO Server 20260903 via commit f1ba68358, this design resolves SILO issue #53 by establishing the compatibility boundary, legacy-migration behavior, and startup error handling for PostgreSQL and MySQL bucket-notification targets. Decision …
Shipped in SILO Server 20260903 via commit f1ba68358, this design resolves SILO issue #53 by establishing the compatibility boundary, legacy-migration behavior, and startup error handling for PostgreSQL and MySQL bucket-notification targets. Decision …