Skip to content

Conversation

@robsdedude
Copy link
Member

@robsdedude robsdedude commented Sep 15, 2021

By sending BEGIN right after starting a transaction instead of waiting for
a query to pipeline BEGIN with RUN, the driver will notice a broken
connection, lack of permission, and similar problems faster. Meaning potentially
expensive computations in the client code can be avoided if they wouldn't be
able to be persisted in the DB anyway. However, this means an extra rtt.

Waiting for neo4j-drivers/testkit#251 to me merged first (re-run TestKit pipeline afterwards)

@robsdedude robsdedude force-pushed the eager-begin branch 2 times, most recently from 0655ce1 to 5a879ce Compare September 17, 2021 08:03
@robsdedude robsdedude merged commit 1ae4a6b into neo4j:4.4 Sep 20, 2021
@robsdedude robsdedude deleted the eager-begin branch September 20, 2021 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant