mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-23 04:39:04 +00:00
9828a867c0
A local PutObjectRetention / PutObjectLegalHold clear persists the lock keys as empty strings (MinIO on-disk shape). The commit-time WORM gate and the delete gate parsed the empty mode / legal-hold value as corrupt metadata, so every later explicit-version PUT (the inbound replication transport) and version delete of that version failed. Treat empty values as absent; non-empty malformed values still fail closed. Refs rustfs/backlog#1953