Neo4j Embedded database hangs after abnormal application termination

前端 未结 2 400
轮回少年
轮回少年 2021-01-21 21:00

I\'m going to make my first application based on Neo4j Embedded database public and ran into a serious blocking issue -

This my previous question with database deleting

相关标签:
2条回答
  • 2021-01-21 21:08

    Neo4j Enterprise allows you to run multiple Neo4j instances in a cluster providing you high availability and scale out for reads. To survive n failures at the same time you need 2n+1 instances.

    In case of a unclean shutdown, the expected behaviour is an automatic recovering operation upon next startup (which might take some time). In the last few years I've never experienced Neo4j in a non-recoverable state after a unclean shutdown.

    For embedded use cases be sure to call gdb.shutdown() in a JVM shutdown hook.

    0 讨论(0)
  • 2021-01-21 21:19

    I can confirm that this issue related to the following fix - https://github.com/neo4j/neo4j/commit/c9596af0d990d7dde9a9053799b7295985ae3c05

    I have applied the changes from this commit and the issue is gone.

    So, right now I'm waiting for Neo4j 2.2.4 release.

    Do you know the planned release date for Neo4j 2.2.4 ?

    0 讨论(0)
提交回复
热议问题