cancel
Showing results for 
Search instead for 
Did you mean: 

Deadlock error when inserting data into Neo4j

rajeevprasanna
Node Clone

I am trying to insert data into Neo4j using spring data.
Encountered dead lock error. Not much information in logs to debug the issue.

Any idea how to read this error

2021-01-04 14:06:57 +0000 [DEBUG] from org.springframework.boot.autoconfigure.web.reactive.error.AbstractErrorWebExceptionHandler in Neo4jDriverIO-2-1 - [5544d4a8-806] Resolved [TransientDataAccessResourceException: ForsetiClient[33] can't acquire ExclusiveLock{owner=ForsetiClient[85]} on NODE(1368), because holders of that lock are waiting for ForsetiClient[33]. Wait list:ExclusiveLock[Client[85] waits for [33]]; Error code 'Neo.TransientError.Transaction.DeadlockDetected'] for HTTP POST /user/create2021-01-04 14:06:57 +0000 [ERROR] from org.springframework.boot.autoconfigure.web.reactive.error.AbstractErrorWebExceptionHandler in Neo4jDriverIO-2-1 - [5544d4a8-806] 500 Server Error for HTTP POST "/user/create"org.springframework.dao.TransientDataAccessResourceException: ForsetiClient[33] can't acquire ExclusiveLock{owner=ForsetiClient[85]} on NODE(1368), because holders of that lock are waiting for ForsetiClient[33]. Wait list:ExclusiveLock[Client[85] waits for [33]]; Error code 'Neo.TransientError.Transaction.DeadlockDetected' at org.springframework.data.neo4j.repository.support.Neo4jPersistenceExceptionTranslator.translateImpl(Neo4jPersistenceExceptionTranslator.java:105) Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:

1 REPLY 1

rajeevprasanna
Node Clone

any update on this? It is a blocker for me