-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query execution threads are not interrupted/terminated when the driver is closed (neo4j driver version 5.9.0 and above) #1436
Comments
👀 |
For info, this issue appears since version 4.2.2, downgrading to 4.2.1 shows the test above do what's expected. |
Thank you for the bug report. We will start an investigation into this. @ikwattro Is it an option to upgrade the driver? 4.4 is our LTS version, and the latest is 5.9. We recommend upgrading to the latest version whenever possible. Any fixes required will go onto the 4.4 LTS and the next release of the 5.x driver. |
As mentioned in the title, it happens on 5.9, we did reverse on all
versions until a version that doesn’t have this bug and we can confirm the
4.2.2 version of the driver introduced this bug.
We are on 5.9 with a custom patch for now, so it’s not urgent although we
prefer not to use custom builds of the driver for too long.
Cheers !
On Wed, 28 Jun 2023 at 17:46, Andy Heap ***@***.***> wrote:
Thank you for the bug report. We will start an investigation into this.
Is there an option to upgrade the driver? 4.4 is our LTS version, and the
latest is 5.9. We recommend upgrading to the latest version whenever
possible.
—
Reply to this email directly, view it on GitHub
<#1436 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJKK6OUAFSZ3NBNUKBLBP3XNRGW3ANCNFSM6AAAAAAZUJKZAU>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Sent from my iPhone.
|
Fix now in place and released in driver version 5.10 |
Thanks a lot for the fast resolution ! |
Thanks a lot, I can confirm the 5.10.0 release fixes the issue. |
Hi guys,
It seems that closing a driver via the
Driver.close()
method from another thread than the one owning the driver instance will not interrupt long running transactions busy on the owning thread. The issue also shows that the owning thread will never finish, even after the transaction query should have been completed.Probably a piece of code is better to explain the behaviour :
In this specific case the previous application will never end.
Thanks in advance,
Andrea Evangelista
The text was updated successfully, but these errors were encountered: