mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-26 16:28:15 +00:00
dd1ffbaee7
* fix(lock): isolate retry attempt lock ids Generate a fresh lock id for each distributed lock retry attempt so late pending cleanup from an earlier attempt cannot release a lock acquired by a later retry. Also add a regression test covering late-success cleanup versus retried acquisition. * style(lock): normalize retry race regression test Normalize the distributed lock retry race regression test formatting without changing behavior. * test(lock): remove quorum-order assumption Make the retry race regression test assert the safety property without assuming which delayed client enters the retry quorum first.