When neo4j becomes unavailable while running a query, the connecting process does not terminate with an exception but stays in an infinite loop, utilizing 100% CPU:
Simple steps to reproduce:
Write a script that runs neo4j queries in a loop, add some output after each query is finished.
While it is running, stop neo4j. The script will stop outputting anything and stay at 100% CPU waiting for something.
Starting neo4j again does not change anything, the script will still be in this state.
Got this reproduced on production server and also on my local dev machine.
When neo4j becomes unavailable while running a query, the connecting process does not terminate with an exception but stays in an infinite loop, utilizing 100% CPU:
Simple steps to reproduce:
Starting neo4j again does not change anything, the script will still be in this state. Got this reproduced on production server and also on my local dev machine.