Skip to content

Conversation

loveleif
Copy link

@loveleif loveleif commented Mar 8, 2023

Restores Session.reset() as a private API. Intended for use in Cypher Shell to perform query cancellation (user press ctrl+c), which has been broken since reset was removed. We considered using 4.4 driver in 5.x as a work around, but it was decided to not merge because there were some unwanted effects (see https://github.com/neo-technology/neo4j/pull/18409).

Reverts 33447f5 with the following modifications:

  • reset() is now not available in the public API.
  • Adapt tests to new APIs.
  • Source code for longRunningStatement.jar is now included in the project. Note, this module is not included as part of the parent build, it can be run locally to generate a new jar file in case of breaking procedure API changes.

https://trello.com/c/pV2nRf9x/359-mechanism-for-query-cancellation

@loveleif loveleif force-pushed the tx-reset-2 branch 4 times, most recently from 50bf9df to f2fdd2e Compare March 8, 2023 15:06
@loveleif loveleif marked this pull request as ready for review March 8, 2023 16:58
@loveleif loveleif requested a review from injectives March 13, 2023 13:26
@injectives
Copy link
Contributor

#1394

@injectives injectives closed this Mar 23, 2023
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.

2 participants