Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3655

Better Locking inside LockManagerImpl

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.2, 2.7
    • 2.6.4, 2.7.1
    • jackrabbit-core
    • None

    Description

      Its possible to get a Deadlock during the TimeoutHandler is running.
      As tried to fix that problem in JCR-3605 i found that the problem is hard to fix because of locking the
      ItemStateManager during modifying the lock properties. It would be better to use a XAReentrantLock than the current synchronized block.

      Attachments

        1. JCR-3655.patch
          3 kB
          Claus Köll

        Activity

          People

            c_koell Claus Köll
            c_koell Claus Köll
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: