Skip to content

Commit 7dd3718

Browse files
committed
fix(locking-redis): roll back partial acquires via awaited per-call commits, order keys, atomic releaseAll, same-owner reentrancy
1 parent b052008 commit 7dd3718

4 files changed

Lines changed: 1485 additions & 77 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@medusajs/locking-redis": patch
3+
---
4+
5+
fix(locking-redis): acquire multi-key locks in a stable order, track per-call claims with an awaited two-phase commit so partial acquisitions roll back atomically and no call can resolve after losing its lease, keep release owner-final, make each releaseAll deletion an atomic compare-and-delete that surfaces command errors, and fix same-owner reentrancy under awaitQueue

0 commit comments

Comments
 (0)