mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-07-19 22:42:20 +00:00
d7854ce88e
objectWriteOwner now returns "" for object-lock (WORM) buckets, so versioned PutObject / copy / delete-marker no longer route them off the lock. Routed writes serialize on the owner's per-path entry lock while retention-checked deletes use the distributed lock, and those two locks don't serialize against each other; an object-lock bucket that routed some writes and not others would split-brain on the same object. Retention enforcement is gateway-side and not part of the per-path-locked filer ops, so the whole bucket stays on the distributed lock and remains internally consistent. The now-redundant gate is dropped from routedObjectOwner.