We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unlock()
1 parent d20796a commit 4b7cb87Copy full SHA for 4b7cb87
spring-integration-redis/src/main/java/org/springframework/integration/redis/util/RedisLockRegistry.java
@@ -478,6 +478,7 @@ private void removeLockKey() {
478
if (RedisLockRegistry.this.unlinkAvailable) {
479
Boolean unlinkResult = null;
480
try {
481
+ // Attempt to UNLINK the lock key; an exception indicates lack of UNLINK support
482
unlinkResult = removeLockKeyInnerUnlink();
483
}
484
catch (Exception ex) {
@@ -492,7 +493,8 @@ private void removeLockKey() {
492
493
494
495
- if(Boolean.TRUE.equals(unlinkResult)) {
496
+ if (Boolean.TRUE.equals(unlinkResult)) {
497
+ // Lock key successfully unlinked
498
return;
499
500
else if (Boolean.FALSE.equals(unlinkResult)) {
0 commit comments