Closed svyatoslavratov closed 8 months ago
Hi @svyatoslavratov, thank you for highlighting this issue. I'll do some testing on my end to understand the underlying cause. It's possible that the error is surfacing differently, but the canceled context is still considered.
Could you confirm if this behavior persists in the latest version of the driver?
@StephenCathcart in new version (5.14.0) this issue is resolved. Thanks you :) can be closed
The expected behavior of the
ExecuteRead
function on context cancelation is the same, toRun
functionfor state.Continue()
contain a check for context timeout: https://github.com/neo4j/neo4j-go-driver/blob/5.0/neo4j/session_with_context.go#L427Maybe solution:
Neo4j Version: 5.1.0 Community Neo4j Mode: Single instance Driver version: Go driver 5.4.0 Operating System: macOS 14.0.0