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

LockService: tryLock() can wait forever

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: