Files
rustfs/crates/ecstore/src
唐小鸭 9828a867c0 fix(object-lock): read cleared empty lock metadata as unlocked
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
2026-08-22 16:31:41 +08:00
..