Neo.DatabaseError.General.UnknownError:IdAllocation状态可能已损坏或与群集不同步

时间:2018-04-12 13:13:27

标签: neo4j

我尝试在graph.db中创建节点并收到此错误:

Neo.DatabaseError.General.UnknownError: IdAllocation state is probably corrupted or out of sync with the cluster. Local highId is 573057 and allocation range is IdRange[32768-33791, defrag []]

我的数据库通过复制二进制文件并升级它,从Neo4j社区版(neo4j-community-3.0.6)迁移到企业版(neo4j-enterprise-3.2.3)。然后我配置了因果集群。

这是来自debug.log的日志:

2018-04-12 07:11:43.870+0000 ERROR [o.n.b.v.r.ErrorReporter] Client triggered an unexpected error [UnknownError]: IdAllocation state is probably corrupted or out of sync with the cluster. Local highId is 573057 and allocation range is IdRange[15360-16383, defrag []], reference 2ca1aca3-3a60-441c-9fe1-dbd431ae400a. IdAllocation state is probably corrupted or out of sync with the cluster. Local highId is 573057 and allocation range is IdRange[15360-16383, defrag []]
java.lang.IllegalStateException: IdAllocation state is probably corrupted or out of sync with the cluster. Local highId is 573057 and allocation range is IdRange[15360-16383, defrag []]
        at org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGenerator.respectingHighId(ReplicatedIdGenerator.java:210)
        at org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGenerator.storeLocally(ReplicatedIdGenerator.java:194)
        at org.neo4j.causalclustering.core.state.machines.id.ReplicatedIdGenerator.nextId(ReplicatedIdGenerator.java:126)
        at org.neo4j.kernel.impl.store.id.IdGenerator$Delegate.nextId(IdGenerator.java:62)
        at org.neo4j.kernel.impl.store.CommonAbstractStore.nextId(CommonAbstractStore.java:571)
        at org.neo4j.kernel.impl.transaction.state.PropertyCreator.primitiveSetProperty(PropertyCreator.java:140)
        at org.neo4j.kernel.impl.transaction.state.TransactionRecordState.nodeAddProperty(TransactionRecordState.java:418)
        at org.neo4j.kernel.impl.storageengine.impl.recordstorage.TransactionToRecordStateVisitor.visitNodePropertyChanges(TransactionToRecordStateVisitor.java:123)
        at org.neo4j.storageengine.api.txstate.TxStateVisitor$Delegator.visitNodePropertyChanges(TxStateVisitor.java:205)
        at org.neo4j.kernel.impl.api.state.TxState$14.visitPropertyChanges(TxState.java:405)
        at org.neo4j.kernel.impl.api.state.PropertyContainerStateImpl.accept(PropertyContainerStateImpl.java:214)
        at org.neo4j.kernel.impl.api.state.NodeStateImpl.accept(NodeStateImpl.java:152)
        at org.neo4j.kernel.impl.api.state.TxState.accept(TxState.java:245)
        at org.neo4j.kernel.impl.storageengine.impl.recordstorage.RecordStorageEngine.createCommands(RecordStorageEngine.java:303)
        at org.neo4j.kernel.impl.api.KernelTransactionImplementation.commit(KernelTransactionImplementation.java:553)

如何解决此错误?

感谢。

0 个答案:

没有答案