Skip to content

Commit

Permalink
fix:Deadlock when reentrant exclusive lock redis#2905
Browse files Browse the repository at this point in the history
  • Loading branch information
Roiocam committed Aug 16, 2024
1 parent 9495478 commit 9d83af3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/java/io/lettuce/core/protocol/SharedLock.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ <T> T doExclusive(Supplier<T> supplier) {
private void lockWritersExclusive() {

if (exclusiveLockOwner == Thread.currentThread()) {
WRITERS.decrementAndGet(this);
return;
}

Expand Down

0 comments on commit 9d83af3

Please sign in to comment.