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

Deadlock due to IOException in WorkspaceUpdateChannel.updatePrepared()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.2
    • 2.9, 2.6.6, 2.8.1
    • jackrabbit-core
    • None
    • Jackrabbit 2.6.2, but may also occur with previous versions.

    Description

      This is similar to JCR-3417, but for the method WorkspaceUpdateChannel.updatePrepared(). The implementation catches an IOException releases the lock on the journal and does not re-throw the exception as a JournalException. The current thread will therefore continue with the save call. A deadlock may occur if another thread acquires the journal lock in the meantime, tries to acquire the write lock of the SharedItemStateManager (owned by the initial thread) and the initial thread later tries to access the journal.

      Attachments

        Activity

          People

            mreutegg Marcel Reutegger
            mreutegg Marcel Reutegger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: