XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 5.2.1
    • None
    • Recipes
    • None

    Description

      describe:

      maybe deadlock

       

      question:

      the question in org.apache.curator.framework.recipes.locks.LockInternals#attemptLock

      and 

      the question in org.apache.curator.framework.recipes.locks.LockInternals#watcher

       

      detail

      When the method named watcher is triggered 

      But the wait method in the method named attemptLock has not yet been executed

      then Will deadlock

       

       The solution is attached

      Attachments

        Activity

          People

            Unassigned Unassigned
            ysz ysz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: