Uploaded image for project: 'Spring Integration'
  1. Spring Integration
  2. INT-3604

RedisLockRegistry may produce eternal lock on network blinking

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Complete
    • Affects Version/s: 4.0.6, 4.1.1
    • Fix Version/s: 4.1.2, 4.0.7
    • Component/s: Redis Support
    • Labels:

      Description

      Current code uses separate calls for set locked key value and for update its time-to-live, so if network blinks second call may fall thus leave in Redis eternal value for locked key and lock will never be obtained + tryLock will always return `false`.

        Attachments

          Activity

            People

            Assignee:
            grussell Gary Russell
            Reporter:
            kyakimov Konstantin Yakimov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: