-
Notifications
You must be signed in to change notification settings - Fork 80
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
neo4j hangs when calling ga.timetree stored procedure in a transaction #260
Comments
@ahmetkizilay Do you have any logs in the database, espcially neo4j.log and debug.log ? |
see the logs here @ikwattro, thanks! |
Here's the log of the HTTP requests (the
|
I think that's pretty normal. @ikwattro maybe it could be something with the plugin? |
i'll investigate |
I am trying to replicate the error by calling rest api methods with httpie, but I can't. REST api calls seem to work without any problems... From faraday logs, I see that this is the routine:
Here's the log for httpie queries: https://gist.github.com/ahmetkizilay/5fa52063738acce4c34546571d68f8b8 One thing I see with faraday is that faraday does not include content-length in the headers. I tried to add Content-Length in What do you think? |
When I was running it it seemed to hang on the second go around. Did you try it in a loop? |
I am trying it is strange that neo4j hangs with neo4jrb, but not with direct http calls. |
Hi @ikwattro, you might find this interesting. (Now I am using Neo4j community edition 3.0.3) It looks like the problem occurs after deleting the TimeTreeRoot node. When I delete all nodes except the TimeTreeRoot in a transaction, the database does not hang anymore. Below is the sample code. you can view full code here. Thanks a lot.
|
Thanks for the detailed report. Would you mind opening an issue and mention me on the timetree repository itself, also paste this snippet there. Thanks a lot ! |
I am trying to run graphaware's timetree stored procedures inside a transaction. It looks like Neo4j hangs after a couple of cypher calls when the stored procedure is called inside a transaction if there is another query updating the database.
In essence, I am running tests and I would like to clear the database before I run a query. However when I call some other cypher with
Neo4j::Session.query
inside or outside a transaction, I get the error.See the sample project to replicate the issue.
https://github.com/ahmetkizilay/neo4jrb-timetree-error
neo4j-core (6.1.4), neo4j community edition 3.0.1, graphaware timetree 3.0.1.38.24
The text was updated successfully, but these errors were encountered: