Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Two Parallel request on a transaction endpoint, one will return a 404 #2081

Closed
growak opened this Issue · 2 comments

2 participants

@growak

I am developping a full asynchronous driver based on scala Future and the REST API.
I send node creation requests in parallel, in a unit test, on the same transaction.
One of the transaction returns a 404 the other succeed.

Is that a desired behaviour ?

@jakewins
Collaborator

Yes, this is by design. You can only have one connection to the server interact with a transaction at a time. If you want to do concurrent writes, start multiple transactions. If you want to do large sets of inserts in the same transaction, use the support for sending multiple statements in each request built into the endpoint.

Closing this as wontfix, but please don't hesitate to ask any other questions you may have about this.

@jakewins jakewins closed this
@growak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.