-
Notifications
You must be signed in to change notification settings - Fork 70
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
driver getting panicked with index out of range #574
Comments
Note that this race happens when the ExecuteWrite pool Return invokes unreg() (because connection is old?) and this launches a go routine to Close the connection which cannot even begin to run until after the connection put in the Idle list. |
Hey there! Thanks for sharing the stack trace and your observations, it's very helpful. I've bumped up the priority on this one because it looks like it might be tied to the previous issue #525 and we now have a bit more info to work with. I'll keep you in the loop with any updates or breakthroughs. |
Is there any update on this. We are seeing the same / similar behavior. |
Hi @aniketkdm, are you seeing this problem using a Neo4j server, and if so which version? I'm just asking as the original issue was around Memgraph. |
Hello @StephenCathcart, yes we are seeing same / similar problem. We are using Neo4j aura through GCP and when we are running heavy load (reads and writes) we get |
To chime in, we're also seeing this issue
|
Thanks for the extra information @aniketkdm and @justinwalz that narrows things down quite a bit. |
Hey was this ever resolved? |
Hey @adam-bedrock not yet, unfortunately. We're able to reproduce the error, but simply locking the close function doesn't fix the issue - it needs a bit of a refactor. I'll keep you posted when we're able to release a fix. Thanks for your patience. Update: #610 should fix the race condition we're seeing, it'll be in the next release. |
Our Database setup
We are using the neo4j go driver for connecting to our memgraph database with default config.
One of our applications is getting panicked while running cypher queries.
So built our application with the
-race
flag enabled and below is the stack trace for a panic.This issue is happening randomly, the occurrence of this issue is not predictable.
Saw a similar issue that was closed here - #525
The text was updated successfully, but these errors were encountered: