Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.9, 1.0
-
None
-
None
-
r4093490
Description
there is a rear occation when one thread commits a transaction and another thread reads versioing related information, so that a deadlock can occurr.
example:
Thread1:
ut.begin();
session.getWorkspace().clone("default", "/content", "/content", true);
ut.commit();
Thread2:
VersionHistory vh = folder.getVersionHistory();
VersionIterator iter = vh.getAllVersions();
while (iter.hasNext())
to fix this issue we must ensure, that methods below the shareditemstatemgr do not call higher instances (like itemmgr) again.