-
Bug
-
Resolution: Done
-
Major
-
None
-
4.5.0.Final
-
None
I have created a sample application https://github.com/lucasweb78/modeshape-test-app that demonstrates a concurrency issue when multiple threads modify the same node structure using User Transactions.
The issue only appears to happen when run inside of Wildfly, I have yet to re-create it outside of Wildfly.
It appears that under concurrent load a child node can be created and committed with a reference to a parent node, but the parent node does not contain a reference to the child, most likely because it was overwritten in a different thread. Once this happens any attempt to access the node results in a NodeNotFoundInParentException
Strangely the issue only occurs if eviction is enabled in the Infinispan cache, even though the entry limit is not reached.