Arturo Sevilla
Arturo Sevilla

Reputation: 227

Neo.ClientError.Transaction.ConcurrentRequest error on Neo4j

What does this error means?

Neo.ClientError.Transaction.ConcurrentRequest

What does it mean to have concurrent requests using the same transaction? Do you mean multiple HTTP requests at the same time?

There is no documentation only the one given here: http://docs.neo4j.org/chunked/milestone/status-codes.html

I had an issue in which I was hitting that error in a single unit test.

Upvotes: 1

Views: 768

Answers (2)

Karan S. Sisodia
Karan S. Sisodia

Reputation: 35

May be you are creating single connection object for parallel requests. If you create independent connection object it will work fine.

Check this thread: https://github.com/jakewins/neo4jdb-python/issues/10

Upvotes: 1

Michael Hunger
Michael Hunger

Reputation: 41676

According to the docs:

Neo.ClientError.Transaction.ConcurrentRequest -> There were concurrent requests accessing the same transaction, which is not allowed.

Means you use the same transaction id in parallel requests, which is not possibles as transactions in Neo4j are thread-bound.

Upvotes: 2

Related Questions