Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Process gets into infinite loop if neo4j goes awayΒ #27

@cebe

Description

@cebe

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:

bildschirmfoto von 2017-12-23 01-05-52

Simple steps to reproduce:

  1. Write a script that runs neo4j queries in a loop, add some output after each query is finished.
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions