-
Notifications
You must be signed in to change notification settings - Fork 29
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
Fetching a new cluster composition can sometimes result in NoMethodError #220
Comments
We are still seeing this issue with neo4j-ruby-driver 4.4.4 |
Is there is any news about that issue? |
We're seeing this issue as well. It pops up intermittently, but would like to have it run clean. Is there any update on this? |
It looks like the issue might be here:
The |
@L33tH4x0r , but if you follow the stack trace above, the
When things are in order, the |
Actually, I think it gets double wrapped by
When the routing table gets refreshed in
The call to retain_all then tries to walk through @klobuczek , can we get rid of
|
It looks like someone added a flatten to the |
That would work too |
That change to the |
Thanks for the fork! This looks like it'll fix things. Our team is just getting started using Neo4J and am curious as to the general problem here. Are you running some sort of configuration that caused more stale objects to get rehydrated that caused this issue? I get why this would fix it, but more wondering about underlying causes here |
I don't think there's anything special about our configuration. We're using ActiveGraph as the ORM to back an API powered by GraphQL and using AuraDB as the storage mechanism. The access of the API is pretty bursty. From what I can remember, there wasn't any particular pattern behind when/why we would see this issue. |
I tried to write a PR for this issue that uses ascent-technologies@6f80bfa but I was unable to push my branch to the remote. I was running into authentication issues so maybe the repo isn't open to PRs? Either way, it would be appreciated if @klobuczek could take a look at the fork and push a change that fixes this. It would be greatly appreciated! |
@klobuczek is there any plan to include this fix into main repo? |
After a period of moderate inactivity, we began seeing this error on all subsequent requests. Restarting our instances temporarily fixed the issue. From the look of things, the key used in
address_to_pool
forNeo4j::Driver::Internal::Async::Pool::ConnectionPoolImpl
is somehow replaced with a Set instead of an address.Docker image:
ruby:3.1.2
Gems:
Error:
The text was updated successfully, but these errors were encountered: