Skip to content
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

Bolt adaptor cannot recover from neo4j restart #321

Open
beho opened this issue Aug 21, 2018 · 1 comment
Open

Bolt adaptor cannot recover from neo4j restart #321

beho opened this issue Aug 21, 2018 · 1 comment

Comments

@beho
Copy link

beho commented Aug 21, 2018

Hi,

I'm using neo4j-core to acess external neo4j from very simple Sinatra-base API.

When Bolt adaptor is used and database is restarted without restart the API, next query causes ruby process to use a lot of CPU time and thus rendering API useless. I had to switch to HTTP adaptor which gracefully continues to operate when database boots up.

Runtime information:

Neo4j database version:
neo4j gem version: 3.3.4
neo4j-core gem version: 8.1.4

@jorroll
Copy link

jorroll commented Aug 21, 2018

I believe the bolt adapter is defined here, if you're interested in figuring out what's going wrong: https://github.com/neo4jrb/neo4j-core/blob/master/lib/neo4j/core/cypher_session/adaptors/bolt.rb

I don't believe anyone, in particular, has claimed "responsibility" for maintaining the bolt adapter, so unless you are interested in fixing this issue, I think your best bet is to stick with the http adapter.

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

No branches or pull requests

2 participants