Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1949

LockService: tryLock() can wait forever

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.6.5
    • None
    • None

      When the ClientLock.acquireTryLock() method converts ns to ms, the resulting input can be 0, which leads to a wait(0), which will wait forever.
      SOLUTION: convert to ms before and skip the wait if 0.

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: