在使用neo4j中,加入了graphaware-expire插件
然后使用了在java中用embedded包进行代码操作
graphaware中是先注册模块然后在开始runtime
开启过程中怎么正确的关闭runtime或取消注册模块
我直接调用
RuntimeRegistry.removeRuntime(databaseAPI);
runtime.beforeShutdown();
后,整个neo4j会报错,只能查询不能更改数据,否则报错 不能提交事务
WARN Task execution threw an exception: Transaction was marked as successful, but unable to commit transaction so rolled back. Transaction was marked as successful, but unable to commit transaction so rolled back.
想要重新注册模块。。。