title: Neo.DatabaseError.General.UnknownError: IdAllocation state is probably corrupted or out of sync with the cluster
body: <p>I try to create node in the graph.db and get this error:</p>
  
  <pre><code>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 []]
  </code></pre>
  
  <p>My DB was migrated from Neo4j Community Edition (neo4j-community-3.0.6) to Enterprise (neo4j-enterprise-3.2.3) by copying binaries and upgrading it.  Then I configured Causal Cluster.</p>
  
  <p>Here is log from debug.log:</p>
  
  <pre><code>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)
  </code></pre>
  
  <p>How can I fix this error?</p>
  
  <p>Thanks.</p>