[Neo] Estrange exception when running multithreaded

Mattias Persson mattias at neotechnology.com
Mon Feb 22 10:43:29 CET 2010


I wrote a reply to this, but decided to put it on the wiki instead...
so head over to http://wiki.neo4j.org/content/Transactions#Deadlocks
and read all about it :)

2010/2/22 Raul Raja Martinez <raulraja at gmail.com>:
> Hi,
>
> I have some code that runs in parallel through a Thread pool executor.
> I'm getting the following exception:
>
> publish exception: class
> org.neo4j.kernel.impl.transaction.DeadlockDetectedException :
> Transaction[Status=STATUS_ACTIVE,ResourceList=Xid[GlobalId[NEOKERNL|1266821950597|383448],
> BranchId[ 52 49 52 49 52 49 ]]
> XAResource[org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaConnection$NeoStoreXaResource at 16107eff]
> Status[ENLISTED] can't wait on resource RWLock[NodeImpl#9058] since =>
> Transaction[Status=STATUS_ACTIVE,ResourceList=Xid[GlobalId[NEOKERNL|1266821950597|383448],
> BranchId[ 52 49 52 49 52 49 ]]
> XAResource[org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaConnection$NeoStoreXaResource at 16107eff]
> Status[ENLISTED] <- RWLock[NodeImpl#187780] <-
> Transaction[Status=STATUS_ACTIVE,ResourceList=Xid[GlobalId[NEOKERNL|1266821950597|383448],
> BranchId[ 52 49 52 49 52 49 ]]
> XAResource[org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaConnection$NeoStoreXaResource at 16107eff]
> Status[ENLISTED] <- RWLock[NodeImpl#9058]
> at
> com.cirqe.api.persistence.graph.impl.neo4j.Neo4JGraphNodeProxy.invoke(Neo4JGraphNodeProxy.java:127)
>
> I thought I'd post it since we have not seen this until we have upgraded to
> the latest version.
>
> Thanks in advance!
>
> Raul
> _______________________________________________
> Neo mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>



-- 
Mattias Persson, [mattias at neotechnology.com]
Neo Technology, www.neotechnology.com


More information about the User mailing list