我有一个Neo4J DB(版本2.1.1,社区版),我正在使用它进行测试。我需要在运行测试之前拆除它,以便执行以下操作:
MATCH (n) OPTIONAL MATCH (n)-[r]-() DELETE n,r
没有问题后,我开始收到以下错误(在浏览器控制台中)
Position[12884901888] requested for high id[168718], store is ok[true] recovery[false]
当我运行一致性检查工具时,我得到以下内容:
Active logical log detected, this might be a source of inconsistencies.
Consider allowing the database to recover before running the consistency check.
Consistency checking will continue, abort if you wish to perform recovery first.
To perform recovery before checking consistency, use the '--recovery' flag.
org.neo4j.kernel.impl.nioneo.store.UnderlyingStorageException: Unable to lock store[/usr/local/Cellar/neo4j/2.1.1/libexec/data/graph.db/neostore.relationshiptypestore.db.names]
at org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.checkStorage(cct.sc4122648793073465175.tmp:169)
at org.neo4j.kernel.impl.nioneo.store.CommonAbstractStore.<init>(cct.sc4122648793073465175.tmp:111)
at org.neo4j.kernel.impl.nioneo.store.AbstractDynamicStore.<init>(cct.sc4122648793073465175.tmp:74)
at org.neo4j.kernel.impl.nioneo.store.DynamicStringStore.<init>(cct.sc4122648793073465175.tmp:40)
非常感谢任何帮助
巴比