Hi all!
I regularly get this exception below, caused by the final delete() in the
following code snippet (part of a linked list implemented using Neo)
Relationship lastItemRel = rootNode.getSingleRelationship(relType,
Direction.INCOMING);
if (lastItemRel != null) {
lastItem =
The stacktrace says to me that it is a threading problem. Two threads
enter relationship delete at the same time, one of them wins the lock
on the relationships deleting it. Upon commit the lock is released and
the other thread tries to load the relationship from store since it
can't find it
2 matches
Mail list logo