Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.6.2
-
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.