Neo4j Embedded database hangs after abnormal application termination

前端 未结 2 399
轮回少年
轮回少年 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.

提交回复
热议问题