<ul dir="auto">
<li>Neo4j version: 4.0.0</li>
<li>Operating system: <code class="notranslate">neo4j:4.0.0-enterprise</code>docker image</li>
<li>API/Driver: cypher</li>
</ul>
<p dir="auto">I'm still trying to narrow down the exact repro but a cypher create/merge statement that was working in 3.5, caused our prod cluster to become corrupt in 4.0.</p>
<p dir="auto">The cluster had been migrated from 3.5.12 a few weeks ago and running reliably until this particular statement was run (it's an infrequently run statement), which brought down and corrupted the entire cluster with logs:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR Clustering components for database 'neo4j' have encountered a critical error org.neo4j.internal.kernel.api.exceptions.TransactionFailureException: Could not apply the transaction to the store after written to log"><pre class="notranslate"><code class="notranslate">ERROR Clustering components for database 'neo4j' have encountered a critical error org.neo4j.internal.kernel.api.exceptions.TransactionFailureException: Could not apply the transaction to the store after written to log
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java.lang.RuntimeException: org.neo4j.internal.kernel.api.exceptions.TransactionFailureException: Could not apply the transaction to the store after written to log
	at com.neo4j.causalclustering.core.state.machines.token.ReplicatedTokenStateMachine.applyToStore(ReplicatedTokenStateMachine.java:96)
	at com.neo4j.causalclustering.core.state.machines.token.ReplicatedTokenStateMachine.applyCommand(ReplicatedTokenStateMachine.java:74)
	at com.neo4j.causalclustering.core.state.machines.CoreStateMachines$StateMachineCommandDispatcher.dispatch(CoreStateMachines.java:119)
	at com.neo4j.causalclustering.core.state.machines.token.ReplicatedTokenRequest.dispatch(ReplicatedTokenRequest.java:94)
	at com.neo4j.causalclustering.core.state.CommandApplicationProcess.handleOperations(CommandApplicationProcess.java:234)
	at com.neo4j.causalclustering.core.state.CommandApplicationProcess.applyBatch(CommandApplicationProcess.java:210)
	at com.neo4j.causalclustering.core.state.CommandBatcher.flush(CommandBatcher.java:44)
	at com.neo4j.causalclustering.core.state.CommandApplicationProcess.applyUpTo(CommandApplicationProcess.java:175)
	at com.neo4j.causalclustering.core.state.CommandApplicationProcess.applyJob(CommandApplicationProcess.java:139)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.neo4j.internal.kernel.api.exceptions.TransactionFailureException: Could not apply the transaction to the store after written to log
	at org.neo4j.kernel.impl.api.TransactionRepresentationCommitProcess.applyToStore(TransactionRepresentationCommitProcess.java:82)
	at org.neo4j.kernel.impl.api.TransactionRepresentationCommitProcess.commit(TransactionRepresentationCommitProcess.java:51)
	at com.neo4j.causalclustering.core.state.machines.StateMachineCommitHelper.commit(StateMachineCommitHelper.java:56)
	at com.neo4j.causalclustering.core.state.machines.StateMachineCommitHelper.commit(StateMachineCommitHelper.java:51)
	at com.neo4j.causalclustering.core.state.machines.token.ReplicatedTokenStateMachine.applyToStore(ReplicatedTokenStateMachine.java:92)
	... 9 more
Caused by: org.neo4j.internal.kernel.api.exceptions.TransactionApplyKernelException: Failed to apply transaction: Transaction #1832889 at log position LogPosition{logVersion=1, byteOffset=217722710} {started 1970-01-01 00:00:00.000+0000, committed 1970-01-01 00:00:00.000+0000, with 1 commands in this transaction, lease 0, latest committed transaction id when started was 0, additional header bytes: "><pre class="notranslate"><code class="notranslate">java.lang.RuntimeException: org.neo4j.internal.kernel.api.exceptions.TransactionFailureException: Could not apply the transaction to the store after written to log
	at com.neo4j.causalclustering.core.state.machines.token.ReplicatedTokenStateMachine.applyToStore(ReplicatedTokenStateMachine.java:96)
	at com.neo4j.causalclustering.core.state.machines.token.ReplicatedTokenStateMachine.applyCommand(ReplicatedTokenStateMachine.java:74)
	at com.neo4j.causalclustering.core.state.machines.CoreStateMachines$StateMachineCommandDispatcher.dispatch(CoreStateMachines.java:119)
	at com.neo4j.causalclustering.core.state.machines.token.ReplicatedTokenRequest.dispatch(ReplicatedTokenRequest.java:94)
	at com.neo4j.causalclustering.core.state.CommandApplicationProcess.handleOperations(CommandApplicationProcess.java:234)
	at com.neo4j.causalclustering.core.state.CommandApplicationProcess.applyBatch(CommandApplicationProcess.java:210)
	at com.neo4j.causalclustering.core.state.CommandBatcher.flush(CommandBatcher.java:44)
	at com.neo4j.causalclustering.core.state.CommandApplicationProcess.applyUpTo(CommandApplicationProcess.java:175)
	at com.neo4j.causalclustering.core.state.CommandApplicationProcess.applyJob(CommandApplicationProcess.java:139)
	at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.neo4j.internal.kernel.api.exceptions.TransactionFailureException: Could not apply the transaction to the store after written to log
	at org.neo4j.kernel.impl.api.TransactionRepresentationCommitProcess.applyToStore(TransactionRepresentationCommitProcess.java:82)
	at org.neo4j.kernel.impl.api.TransactionRepresentationCommitProcess.commit(TransactionRepresentationCommitProcess.java:51)
	at com.neo4j.causalclustering.core.state.machines.StateMachineCommitHelper.commit(StateMachineCommitHelper.java:56)
	at com.neo4j.causalclustering.core.state.machines.StateMachineCommitHelper.commit(StateMachineCommitHelper.java:51)
	at com.neo4j.causalclustering.core.state.machines.token.ReplicatedTokenStateMachine.applyToStore(ReplicatedTokenStateMachine.java:92)
	... 9 more
Caused by: org.neo4j.internal.kernel.api.exceptions.TransactionApplyKernelException: Failed to apply transaction: Transaction #1832889 at log position LogPosition{logVersion=1, byteOffset=217722710} {started 1970-01-01 00:00:00.000+0000, committed 1970-01-01 00:00:00.000+0000, with 1 commands in this transaction, lease 0, latest committed transaction id when started was 0, additional header bytes: 
</code></pre></div>
<p dir="auto">...</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="at org.neo4j.internal.recordstorage.RecordStorageEngine.apply(RecordStorageEngine.java:302)
at org.neo4j.kernel.impl.api.TransactionRepresentationCommitProcess.applyToStore(TransactionRepresentationCommitProcess.java:78)
... 13 more
Caused by: org.neo4j.token.api.NonUniqueTokenException: The PropertyKey NamedToken[name:stripeBankAccountId, id:611, internal:false] is not unique, it existed as NamedToken[name:__org.neo4j.SchemaRule.IndexConfig.spatial.wgs-84.max, id:611, internal:true]. at org.neo4j.token.TokenRegistry.put(TokenRegistry.java:73) at org.neo4j.token.AbstractTokenHolderBase.addToken(AbstractTokenHolderBase.java:52) at org.neo4j.internal.recordstorage.BridgingCacheAccess.addPropertyKeyToken(BridgingCacheAccess.java:68) at org.neo4j.internal.recordstorage.CacheInvalidationTransactionApplier.visitPropertyKeyTokenCommand(CacheInvalidationTransactionApplier.java:69) at org.neo4j.internal.recordstorage.Command$PropertyKeyTokenCommand.handle(Command.java:537) at org.neo4j.internal.recordstorage.TransactionApplierFacade.visit(TransactionApplierFacade.java:57) at org.neo4j.internal.recordstorage.TransactionApplierFacade.visit(TransactionApplierFacade.java:32) at org.neo4j.kernel.impl.transaction.log.PhysicalTransactionRepresentation.accept(PhysicalTransactionRepresentation.java:76) at org.neo4j.kernel.impl.api.TransactionToApply.accept(TransactionToApply.java:130) at org.neo4j.internal.recordstorage.RecordStorageEngine.apply(RecordStorageEngine.java:294) ... 14 more"><pre class="notranslate"><code class="notranslate">at org.neo4j.internal.recordstorage.RecordStorageEngine.apply(RecordStorageEngine.java:302)
at org.neo4j.kernel.impl.api.TransactionRepresentationCommitProcess.applyToStore(TransactionRepresentationCommitProcess.java:78)
... 13 more
Caused by: org.neo4j.token.api.NonUniqueTokenException: The PropertyKey NamedToken[name:stripeBankAccountId, id:611, internal:false] is not unique, it existed as NamedToken[name:__org.neo4j.SchemaRule.IndexConfig.spatial.wgs-84.max, id:611, internal:true]. at org.neo4j.token.TokenRegistry.put(TokenRegistry.java:73) at org.neo4j.token.AbstractTokenHolderBase.addToken(AbstractTokenHolderBase.java:52) at org.neo4j.internal.recordstorage.BridgingCacheAccess.addPropertyKeyToken(BridgingCacheAccess.java:68) at org.neo4j.internal.recordstorage.CacheInvalidationTransactionApplier.visitPropertyKeyTokenCommand(CacheInvalidationTransactionApplier.java:69) at org.neo4j.internal.recordstorage.Command$PropertyKeyTokenCommand.handle(Command.java:537) at org.neo4j.internal.recordstorage.TransactionApplierFacade.visit(TransactionApplierFacade.java:57) at org.neo4j.internal.recordstorage.TransactionApplierFacade.visit(TransactionApplierFacade.java:32) at org.neo4j.kernel.impl.transaction.log.PhysicalTransactionRepresentation.accept(PhysicalTransactionRepresentation.java:76) at org.neo4j.kernel.impl.api.TransactionToApply.accept(TransactionToApply.java:130) at org.neo4j.internal.recordstorage.RecordStorageEngine.apply(RecordStorageEngine.java:294) ... 14 more
</code></pre></div>
<p dir="auto">Repair was attempted by restarting the nodes but this resulted in all nodes failing to start with logs:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ERROR Clustering components for database 'neo4j' have encountered a critical error Encountered error when attempting to reconcile database neo4j from state 'EnterpriseDatabaseState{databaseId=DatabaseId{name='neo4j', databaseId=DatabaseIdWithoutName{uuid=9f35bdfb-46ba-40f8-a292-88b0ba533c55}}, operatorState=STOPPED, failed=false}' to state 'online'"><pre class="notranslate"><code class="notranslate">ERROR Clustering components for database 'neo4j' have encountered a critical error Encountered error when attempting to reconcile database neo4j from state 'EnterpriseDatabaseState{databaseId=DatabaseId{name='neo4j', databaseId=DatabaseIdWithoutName{uuid=9f35bdfb-46ba-40f8-a292-88b0ba533c55}}, operatorState=STOPPED, failed=false}' to state 'online'
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="java.lang.IllegalStateException: Encountered error when attempting to reconcile database neo4j from state 'EnterpriseDatabaseState{databaseId=DatabaseId{name='neo4j', databaseId=DatabaseIdWithoutName{uuid=9f35bdfb-46ba-40f8-a292-88b0ba533c55}}, operatorState=STOPPED, failed=false}' to state 'online' at com.neo4j.dbms.DbmsReconciler.reportErrorAndPanicDatabase(DbmsReconciler.java:435) at com.neo4j.dbms.DbmsReconciler.handleReconciliationErrors(DbmsReconciler.java:420) at com.neo4j.dbms.DbmsReconciler.lambda$postReconcile$14(DbmsReconciler.java:369) at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1947) at com.neo4j.dbms.DbmsReconciler.postReconcile(DbmsReconciler.java:367) at com.neo4j.dbms.DbmsReconciler.lambda$scheduleReconciliationJob$7(DbmsReconciler.java:234) at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859) at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837) at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1705) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: org.neo4j.dbms.api.DatabaseManagementException: Unable to start database `DatabaseId{name='neo4j', databaseId=DatabaseIdWithoutName{uuid=9f35bdfb-46ba-40f8-a292-88b0ba533c55}}` at com.neo4j.dbms.database.ClusteredMultiDatabaseManager.startDatabase(ClusteredMultiDatabaseManager.java:83) at com.neo4j.dbms.database.ClusteredMultiDatabaseManager.startDatabase(ClusteredMultiDatabaseManager.java:37) at com.neo4j.dbms.database.MultiDatabaseManager.forSingleDatabase(MultiDatabaseManager.java:112) at com.neo4j.dbms.database.MultiDatabaseManager.startDatabase(MultiDatabaseManager.java:98) at com.neo4j.dbms.DbmsReconciler.start(DbmsReconciler.java:537) at com.neo4j.dbms.Transitions$TransitionFunction.lambda$prepare$0(Transitions.java:219) at com.neo4j.dbms.DbmsReconciler.doTransitionStep(DbmsReconciler.java:335) at com.neo4j.dbms.DbmsReconciler.doTransitionStep(DbmsReconciler.java:336) at com.neo4j.dbms.DbmsReconciler.doTransitions(DbmsReconciler.java:318) at com.neo4j.dbms.DbmsReconciler.lambda$doTransitions$9(DbmsReconciler.java:308) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) ... 3 more Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.recovery.TransactionLogsRecovery@97f40fb' failed to initialize. Please see the attached cause exception &quot;Internal token for id 611 not found.&quot;. at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:426) at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:66) at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:102) at org.neo4j.kernel.recovery.Recovery.performRecovery(Recovery.java:364) at org.neo4j.kernel.recovery.Recovery.performRecovery(Recovery.java:246) at org.neo4j.kernel.recovery.RecoveryFacade.recovery(RecoveryFacade.java:49) at com.neo4j.causalclustering.core.CoreDatabase.lambda$new$0(CoreDatabase.java:42) at org.neo4j.kernel.lifecycle.LifecycleAdapter$3.start(LifecycleAdapter.java:86) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444) at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111) at com.neo4j.causalclustering.common.ClusteredDatabase.start(ClusteredDatabase.java:39) at com.neo4j.dbms.database.ClusteredMultiDatabaseManager.startDatabase(ClusteredMultiDatabaseManager.java:79) ... 13 more Caused by: java.lang.RuntimeException: Error reading transaction logs, recovery not possible. To force the database to start anyway, you can specify 'unsupported.dbms.tx_log.fail_on_corrupted_log_files=false'. This will try to recover as much as possible and then truncate the corrupt part of the transaction log. Doing this means your database integrity might be compromised, please consider restoring from a consistent backup instead. at org.neo4j.kernel.recovery.Recovery.throwUnableToCleanRecover(Recovery.java:464) at org.neo4j.kernel.recovery.TransactionLogsRecovery.init(TransactionLogsRecovery.java:147) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:405) ... 24 more Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.internal.recordstorage.RecordStorageEngine$2@58b75fa3' failed to initialize. Please see the attached cause exception &quot;Internal token for id 611 not found.&quot;. at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:426) at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:66) at org.neo4j.kernel.recovery.TransactionLogsRecovery.init(TransactionLogsRecovery.java:117) ... 25 more Caused by: java.lang.RuntimeException: org.neo4j.internal.kernel.api.exceptions.schema.MalformedSchemaRuleException: Cannot read schema rule because it is referring to a property key token (id 611) that does not exist. at org.neo4j.internal.recordstorage.SchemaStorage.readSchemaRuleThrowingRuntimeException(SchemaStorage.java:266) at org.neo4j.internal.recordstorage.SchemaStorage.lambda$streamAllSchemaRules$5(SchemaStorage.java:238) at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) at java.base/java.util.stream.LongPipeline$1$1.accept(LongPipeline.java:177) at java.base/java.util.stream.Streams$RangeLongSpliterator.tryAdvance(Streams.java:207) at java.base/java.util.Spliterator$OfLong.tryAdvance(Spliterator.java:740) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:294) at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:206) at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:161) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:300) at java.base/java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681) at org.neo4j.internal.recordstorage.SchemaCache$SchemaCacheState.load(SchemaCache.java:298) at org.neo4j.internal.recordstorage.SchemaCache$SchemaCacheState.&lt;init&gt;(SchemaCache.java:264) at org.neo4j.internal.recordstorage.SchemaCache.load(SchemaCache.java:134) at org.neo4j.internal.recordstorage.RecordStorageEngine.loadSchemaCache(RecordStorageEngine.java:368) at org.neo4j.internal.recordstorage.RecordStorageEngine$2.init(RecordStorageEngine.java:459) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:405) ... 27 more Caused by: org.neo4j.internal.kernel.api.exceptions.schema.MalformedSchemaRuleException: Cannot read schema rule because it is referring to a property key token (id 611) that does not exist. at org.neo4j.kernel.impl.store.SchemaStore.insertPropertyIntoMap(SchemaStore.java:463) at org.neo4j.kernel.impl.store.SchemaStore.schemaRecordToMap(SchemaStore.java:445) at org.neo4j.kernel.impl.store.SchemaStore.readSchemaRule(SchemaStore.java:326) at org.neo4j.internal.recordstorage.SchemaStorage.readSchemaRule(SchemaStorage.java:274) at org.neo4j.internal.recordstorage.SchemaStorage.readSchemaRuleThrowingRuntimeException(SchemaStorage.java:259) ... 44 more Caused by: org.neo4j.token.api.TokenNotFoundException: Internal token for id 611 not found. at org.neo4j.token.AbstractTokenHolderBase.getInternalTokenById(AbstractTokenHolderBase.java:121) at org.neo4j.kernel.impl.store.SchemaStore.insertPropertyIntoMap(SchemaStore.java:457) ... 48 more"><pre class="notranslate"><code class="notranslate">java.lang.IllegalStateException: Encountered error when attempting to reconcile database neo4j from state 'EnterpriseDatabaseState{databaseId=DatabaseId{name='neo4j', databaseId=DatabaseIdWithoutName{uuid=9f35bdfb-46ba-40f8-a292-88b0ba533c55}}, operatorState=STOPPED, failed=false}' to state 'online' at com.neo4j.dbms.DbmsReconciler.reportErrorAndPanicDatabase(DbmsReconciler.java:435) at com.neo4j.dbms.DbmsReconciler.handleReconciliationErrors(DbmsReconciler.java:420) at com.neo4j.dbms.DbmsReconciler.lambda$postReconcile$14(DbmsReconciler.java:369) at java.base/java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1947) at com.neo4j.dbms.DbmsReconciler.postReconcile(DbmsReconciler.java:367) at com.neo4j.dbms.DbmsReconciler.lambda$scheduleReconciliationJob$7(DbmsReconciler.java:234) at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete(CompletableFuture.java:859) at java.base/java.util.concurrent.CompletableFuture$UniWhenComplete.tryFire(CompletableFuture.java:837) at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:506) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1705) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834) Caused by: org.neo4j.dbms.api.DatabaseManagementException: Unable to start database `DatabaseId{name='neo4j', databaseId=DatabaseIdWithoutName{uuid=9f35bdfb-46ba-40f8-a292-88b0ba533c55}}` at com.neo4j.dbms.database.ClusteredMultiDatabaseManager.startDatabase(ClusteredMultiDatabaseManager.java:83) at com.neo4j.dbms.database.ClusteredMultiDatabaseManager.startDatabase(ClusteredMultiDatabaseManager.java:37) at com.neo4j.dbms.database.MultiDatabaseManager.forSingleDatabase(MultiDatabaseManager.java:112) at com.neo4j.dbms.database.MultiDatabaseManager.startDatabase(MultiDatabaseManager.java:98) at com.neo4j.dbms.DbmsReconciler.start(DbmsReconciler.java:537) at com.neo4j.dbms.Transitions$TransitionFunction.lambda$prepare$0(Transitions.java:219) at com.neo4j.dbms.DbmsReconciler.doTransitionStep(DbmsReconciler.java:335) at com.neo4j.dbms.DbmsReconciler.doTransitionStep(DbmsReconciler.java:336) at com.neo4j.dbms.DbmsReconciler.doTransitions(DbmsReconciler.java:318) at com.neo4j.dbms.DbmsReconciler.lambda$doTransitions$9(DbmsReconciler.java:308) at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700) ... 3 more Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.kernel.recovery.TransactionLogsRecovery@97f40fb' failed to initialize. Please see the attached cause exception "Internal token for id 611 not found.". at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:426) at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:66) at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:102) at org.neo4j.kernel.recovery.Recovery.performRecovery(Recovery.java:364) at org.neo4j.kernel.recovery.Recovery.performRecovery(Recovery.java:246) at org.neo4j.kernel.recovery.RecoveryFacade.recovery(RecoveryFacade.java:49) at com.neo4j.causalclustering.core.CoreDatabase.lambda$new$0(CoreDatabase.java:42) at org.neo4j.kernel.lifecycle.LifecycleAdapter$3.start(LifecycleAdapter.java:86) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:444) at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:111) at com.neo4j.causalclustering.common.ClusteredDatabase.start(ClusteredDatabase.java:39) at com.neo4j.dbms.database.ClusteredMultiDatabaseManager.startDatabase(ClusteredMultiDatabaseManager.java:79) ... 13 more Caused by: java.lang.RuntimeException: Error reading transaction logs, recovery not possible. To force the database to start anyway, you can specify 'unsupported.dbms.tx_log.fail_on_corrupted_log_files=false'. This will try to recover as much as possible and then truncate the corrupt part of the transaction log. Doing this means your database integrity might be compromised, please consider restoring from a consistent backup instead. at org.neo4j.kernel.recovery.Recovery.throwUnableToCleanRecover(Recovery.java:464) at org.neo4j.kernel.recovery.TransactionLogsRecovery.init(TransactionLogsRecovery.java:147) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:405) ... 24 more Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.internal.recordstorage.RecordStorageEngine$2@58b75fa3' failed to initialize. Please see the attached cause exception "Internal token for id 611 not found.". at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:426) at org.neo4j.kernel.lifecycle.LifeSupport.init(LifeSupport.java:66) at org.neo4j.kernel.recovery.TransactionLogsRecovery.init(TransactionLogsRecovery.java:117) ... 25 more Caused by: java.lang.RuntimeException: org.neo4j.internal.kernel.api.exceptions.schema.MalformedSchemaRuleException: Cannot read schema rule because it is referring to a property key token (id 611) that does not exist. at org.neo4j.internal.recordstorage.SchemaStorage.readSchemaRuleThrowingRuntimeException(SchemaStorage.java:266) at org.neo4j.internal.recordstorage.SchemaStorage.lambda$streamAllSchemaRules$5(SchemaStorage.java:238) at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271) at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:177) at java.base/java.util.stream.LongPipeline$1$1.accept(LongPipeline.java:177) at java.base/java.util.stream.Streams$RangeLongSpliterator.tryAdvance(Streams.java:207) at java.base/java.util.Spliterator$OfLong.tryAdvance(Spliterator.java:740) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.lambda$initPartialTraversalState$0(StreamSpliterators.java:294) at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.fillBuffer(StreamSpliterators.java:206) at java.base/java.util.stream.StreamSpliterators$AbstractWrappingSpliterator.doAdvance(StreamSpliterators.java:161) at java.base/java.util.stream.StreamSpliterators$WrappingSpliterator.tryAdvance(StreamSpliterators.java:300) at java.base/java.util.Spliterators$1Adapter.hasNext(Spliterators.java:681) at org.neo4j.internal.recordstorage.SchemaCache$SchemaCacheState.load(SchemaCache.java:298) at org.neo4j.internal.recordstorage.SchemaCache$SchemaCacheState.&lt;init&gt;(SchemaCache.java:264) at org.neo4j.internal.recordstorage.SchemaCache.load(SchemaCache.java:134) at org.neo4j.internal.recordstorage.RecordStorageEngine.loadSchemaCache(RecordStorageEngine.java:368) at org.neo4j.internal.recordstorage.RecordStorageEngine$2.init(RecordStorageEngine.java:459) at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.init(LifeSupport.java:405) ... 27 more Caused by: org.neo4j.internal.kernel.api.exceptions.schema.MalformedSchemaRuleException: Cannot read schema rule because it is referring to a property key token (id 611) that does not exist. at org.neo4j.kernel.impl.store.SchemaStore.insertPropertyIntoMap(SchemaStore.java:463) at org.neo4j.kernel.impl.store.SchemaStore.schemaRecordToMap(SchemaStore.java:445) at org.neo4j.kernel.impl.store.SchemaStore.readSchemaRule(SchemaStore.java:326) at org.neo4j.internal.recordstorage.SchemaStorage.readSchemaRule(SchemaStorage.java:274) at org.neo4j.internal.recordstorage.SchemaStorage.readSchemaRuleThrowingRuntimeException(SchemaStorage.java:259) ... 44 more Caused by: org.neo4j.token.api.TokenNotFoundException: Internal token for id 611 not found. at org.neo4j.token.AbstractTokenHolderBase.getInternalTokenById(AbstractTokenHolderBase.java:121) at org.neo4j.kernel.impl.store.SchemaStore.insertPropertyIntoMap(SchemaStore.java:457) ... 48 more
</code></pre></div>
<p dir="auto">I tried starting each node as a single instance but each failed to repair the corrupt datastore and refused to start.</p>
<p dir="auto">I had a duplicate cluster in test environment that when I ran the same transaction failed in the identical way so this was not just a fluke.</p>
<p dir="auto">I will try to post more details here once I can further isolate the root cause.</p>
<p dir="auto">This appears to be a p0 bug in neo4j 4.0.0.<br>
see also <a href="https://community.neo4j.com/t/nonuniquetokenexception-cant-launch-database-cant-use-cypher-shell-to-fix-it/13551/7" rel="nofollow">https://community.neo4j.com/t/nonuniquetokenexception-cant-launch-database-cant-use-cypher-shell-to-fix-it/13551/7</a></p>
<p dir="auto">Upgraded a database from 2.0.2 to 2.1.1. After some time using it (reads/writes), I get the following exception:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="SEVERE: Error while rendering node eeeb54fe0d954c50b1d6eac3a21f2f00: org.neo4j.graphdb.NotFoundException: Unable to load one or more relationships from Node[192922]. This usually happens when relationships are deleted by someone else just as we are about to load them. Please try again.
org.neo4j.graphdb.NotFoundException: Unable to load one or more relationships from Node[192922]. This usually happens when relationships are deleted by someone else just as we are about to load them. Please try again.
    at org.neo4j.kernel.impl.core.NodeImpl.loadMoreRelationshipsFromNodeManager(NodeImpl.java:481)
    at org.neo4j.kernel.impl.core.NodeImpl.getMoreRelationships(NodeImpl.java:358)
    at org.neo4j.kernel.impl.core.NodeImpl.loadInitialRelationships(NodeImpl.java:288)
    at org.neo4j.kernel.impl.core.NodeImpl.ensureRelationshipMapNotNull(NodeImpl.java:260)
    at org.neo4j.kernel.impl.core.NodeImpl.getAllRelationshipsOfType(NodeImpl.java:181)
    at org.neo4j.kernel.impl.core.NodeImpl.getRelationships(NodeImpl.java:241)
    at org.neo4j.kernel.impl.api.store.PersistenceCache.nodeGetRelationships(PersistenceCache.java:200)
    at org.neo4j.kernel.impl.api.store.CacheLayer.nodeListRelationships(CacheLayer.java:452)
    at org.neo4j.kernel.impl.api.StateHandlingStatementOperations.nodeGetRelationships(StateHandlingStatementOperations.java:972)
    at org.neo4j.kernel.impl.api.ConstraintEnforcingEntityOperations.nodeGetRelationships(ConstraintEnforcingEntityOperations.java:358)
    at org.neo4j.kernel.impl.api.OperationsFacade.nodeGetRelationships(OperationsFacade.java:174)
    at org.neo4j.kernel.impl.core.NodeProxy.getRelationships(NodeProxy.java:170)
    at org.neo4j.kernel.impl.core.NodeProxy.getRelationships(NodeProxy.java:76)
    at org.structr.core.entity.AbstractEndpoint.getMultiple(AbstractEndpoint.java:60)
    at org.structr.core.entity.AbstractEndpoint.getSingle(AbstractEndpoint.java:48)
    at org.structr.core.entity.OneStartpoint.getRawSource(OneStartpoint.java:71)
    at org.structr.core.entity.AbstractNode.getIncomingRelationshipAsSuperUser(AbstractNode.java:805)
    at org.structr.core.entity.AbstractNode.getOwnerNode(AbstractNode.java:757)
    at org.structr.common.SecurityContext.isVisibleInFrontend(SecurityContext.java:503)
    at org.structr.common.SecurityContext.isVisible(SecurityContext.java:392)
    at org.structr.web.entity.dom.DOMElement.render(DOMElement.java:457)
    at org.structr.web.entity.dom.DOMElement.render(DOMElement.java:577)
    at org.structr.web.entity.dom.DOMElement.render(DOMElement.java:505)
    at org.structr.web.entity.dom.DOMElement.render(DOMElement.java:577)
    at org.structr.web.entity.dom.DOMElement.render(DOMElement.java:577)
    at org.structr.web.entity.dom.Page.render(Page.java:665)
    at org.structr.web.servlet.HtmlServlet$1.run(HtmlServlet.java:350)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)
Caused by: org.neo4j.kernel.impl.nioneo.store.InvalidRecordException: RelationshipRecord[249633] not in use
    at org.neo4j.kernel.impl.nioneo.store.RelationshipStore.getRecord(RelationshipStore.java:267)
    at org.neo4j.kernel.impl.nioneo.store.RelationshipStore.getChainRecord(RelationshipStore.java:337)
    at org.neo4j.kernel.impl.nioneo.xa.NeoStoreTransaction.getMoreRelationships(NeoStoreTransaction.java:1522)
    at org.neo4j.kernel.impl.nioneo.xa.NeoStoreTransaction.getMoreRelationships(NeoStoreTransaction.java:1101)
    at org.neo4j.kernel.impl.persistence.PersistenceManager.getMoreRelationships(PersistenceManager.java:89)
    at org.neo4j.kernel.impl.core.RelationshipLoader.getMoreRelationships(RelationshipLoader.java:52)
    at org.neo4j.kernel.impl.core.NodeManager.getMoreRelationships(NodeManager.java:786)
    at org.neo4j.kernel.impl.core.NodeImpl.loadMoreRelationshipsFromNodeManager(NodeImpl.java:477)
    ... 31 more"><pre class="notranslate"><code class="notranslate">SEVERE: Error while rendering node eeeb54fe0d954c50b1d6eac3a21f2f00: org.neo4j.graphdb.NotFoundException: Unable to load one or more relationships from Node[192922]. This usually happens when relationships are deleted by someone else just as we are about to load them. Please try again.
org.neo4j.graphdb.NotFoundException: Unable to load one or more relationships from Node[192922]. This usually happens when relationships are deleted by someone else just as we are about to load them. Please try again.
    at org.neo4j.kernel.impl.core.NodeImpl.loadMoreRelationshipsFromNodeManager(NodeImpl.java:481)
    at org.neo4j.kernel.impl.core.NodeImpl.getMoreRelationships(NodeImpl.java:358)
    at org.neo4j.kernel.impl.core.NodeImpl.loadInitialRelationships(NodeImpl.java:288)
    at org.neo4j.kernel.impl.core.NodeImpl.ensureRelationshipMapNotNull(NodeImpl.java:260)
    at org.neo4j.kernel.impl.core.NodeImpl.getAllRelationshipsOfType(NodeImpl.java:181)
    at org.neo4j.kernel.impl.core.NodeImpl.getRelationships(NodeImpl.java:241)
    at org.neo4j.kernel.impl.api.store.PersistenceCache.nodeGetRelationships(PersistenceCache.java:200)
    at org.neo4j.kernel.impl.api.store.CacheLayer.nodeListRelationships(CacheLayer.java:452)
    at org.neo4j.kernel.impl.api.StateHandlingStatementOperations.nodeGetRelationships(StateHandlingStatementOperations.java:972)
    at org.neo4j.kernel.impl.api.ConstraintEnforcingEntityOperations.nodeGetRelationships(ConstraintEnforcingEntityOperations.java:358)
    at org.neo4j.kernel.impl.api.OperationsFacade.nodeGetRelationships(OperationsFacade.java:174)
    at org.neo4j.kernel.impl.core.NodeProxy.getRelationships(NodeProxy.java:170)
    at org.neo4j.kernel.impl.core.NodeProxy.getRelationships(NodeProxy.java:76)
    at org.structr.core.entity.AbstractEndpoint.getMultiple(AbstractEndpoint.java:60)
    at org.structr.core.entity.AbstractEndpoint.getSingle(AbstractEndpoint.java:48)
    at org.structr.core.entity.OneStartpoint.getRawSource(OneStartpoint.java:71)
    at org.structr.core.entity.AbstractNode.getIncomingRelationshipAsSuperUser(AbstractNode.java:805)
    at org.structr.core.entity.AbstractNode.getOwnerNode(AbstractNode.java:757)
    at org.structr.common.SecurityContext.isVisibleInFrontend(SecurityContext.java:503)
    at org.structr.common.SecurityContext.isVisible(SecurityContext.java:392)
    at org.structr.web.entity.dom.DOMElement.render(DOMElement.java:457)
    at org.structr.web.entity.dom.DOMElement.render(DOMElement.java:577)
    at org.structr.web.entity.dom.DOMElement.render(DOMElement.java:505)
    at org.structr.web.entity.dom.DOMElement.render(DOMElement.java:577)
    at org.structr.web.entity.dom.DOMElement.render(DOMElement.java:577)
    at org.structr.web.entity.dom.Page.render(Page.java:665)
    at org.structr.web.servlet.HtmlServlet$1.run(HtmlServlet.java:350)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:744)
Caused by: org.neo4j.kernel.impl.nioneo.store.InvalidRecordException: RelationshipRecord[249633] not in use
    at org.neo4j.kernel.impl.nioneo.store.RelationshipStore.getRecord(RelationshipStore.java:267)
    at org.neo4j.kernel.impl.nioneo.store.RelationshipStore.getChainRecord(RelationshipStore.java:337)
    at org.neo4j.kernel.impl.nioneo.xa.NeoStoreTransaction.getMoreRelationships(NeoStoreTransaction.java:1522)
    at org.neo4j.kernel.impl.nioneo.xa.NeoStoreTransaction.getMoreRelationships(NeoStoreTransaction.java:1101)
    at org.neo4j.kernel.impl.persistence.PersistenceManager.getMoreRelationships(PersistenceManager.java:89)
    at org.neo4j.kernel.impl.core.RelationshipLoader.getMoreRelationships(RelationshipLoader.java:52)
    at org.neo4j.kernel.impl.core.NodeManager.getMoreRelationships(NodeManager.java:786)
    at org.neo4j.kernel.impl.core.NodeImpl.loadMoreRelationshipsFromNodeManager(NodeImpl.java:477)
    ... 31 more
</code></pre></div>
<p dir="auto">A similar stack trace has been reported here (version 2.0.3)</p>
<p dir="auto"><a href="https://groups.google.com/forum/#!topic/neo4j/Tg9gyaV1c2I" rel="nofollow">https://groups.google.com/forum/#!topic/neo4j/Tg9gyaV1c2I</a></p>
<p dir="auto">and here</p>
<p dir="auto"><a href="http://stackoverflow.com/questions/24043604/neo4j-recover-corrupt-nodes" rel="nofollow">http://stackoverflow.com/questions/24043604/neo4j-recover-corrupt-nodes</a></p>
<p dir="auto">Running the ConsistencyChecker on the corrupted database shows a very large number of similar entries like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Full consistency check
...2014-06-09 19:49:34.434+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[182739,used=true,rel=-1,prop=1067728,labels=Dynamic(id:333),light]
    Inconsistent with: Property[1067728,used=true,prev=1208110,next=166304,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=sessions-table],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
2014-06-09 19:49:34.436+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[182860,used=true,rel=-1,prop=1067611,labels=Dynamic(id:414),light]
    Inconsistent with: Property[1067611,used=true,prev=1208109,next=190070,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=speakers],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
2014-06-09 19:49:34.474+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[209499,used=true,rel=-1,prop=1067728,labels=Dynamic(id:333),light]
    Inconsistent with: Property[1067728,used=true,prev=1208110,next=166304,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=sessions-table],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
2014-06-09 19:49:34.476+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[209620,used=true,rel=-1,prop=1067611,labels=Dynamic(id:414),light]
    Inconsistent with: Property[1067611,used=true,prev=1208109,next=190070,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=speakers],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
.2014-06-09 19:49:34.513+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[236259,used=true,rel=-1,prop=1067728,labels=Dynamic(id:333),light]
    Inconsistent with: Property[1067728,used=true,prev=1208110,next=166304,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=sessions-table],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
2014-06-09 19:49:34.514+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[236380,used=true,rel=-1,prop=1067611,labels=Dynamic(id:414),light]
    Inconsistent with: Property[1067611,used=true,prev=1208109,next=190070,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=speakers],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
2014-06-09 19:49:34.548+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[263019,used=true,rel=-1,prop=1067728,labels=Dynamic(id:333),light]
    Inconsistent with: Property[1067728,used=true,prev=1208110,next=166304,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=sessions-table],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
2014-06-09 19:49:34.549+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[263140,used=true,rel=-1,prop=1067611,labels=Dynamic(id:414),light]
    Inconsistent with: Property[1067611,used=true,prev=1208109,next=190070,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=speakers],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
.2014-06-09 19:49:34.571+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[289779,used=true,rel=-1,prop=1067728,labels=Dynamic(id:333),light]
    Inconsistent with: Property[1067728,used=true,prev=1208110,next=166304,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=sessions-table],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]

[...]

2014-06-09 21:46:36.092+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is source.
        Node[7,used=true,rel=249638,prop=515754,labels=Dynamic(id:1),light]
        Inconsistent with: Relationship[249638,used=true,source=7,target=6234,type=12,sPrev=251865,sNext=249630,tPrev=261441,tNext=249637,prop=1050523!sFirst!tFirst]
2014-06-09 21:46:36.092+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is target.
        Node[14,used=true,rel=229934,prop=515761,labels=Inline(0x3016008005:[5, 8, 22]),light]
        Inconsistent with: Relationship[229934,used=true,source=188310,target=14,type=4,sPrev=229935,sNext=229933,tPrev=241740,tNext=12507,prop=232962!sFirst!tFirst]
2014-06-09 21:46:36.092+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is target.
        Node[19,used=true,rel=229938,prop=515766,labels=Inline(0x3016008005:[5, 8, 22]),light]
        Inconsistent with: Relationship[229938,used=true,source=188310,target=19,type=4,sPrev=229939,sNext=229937,tPrev=241744,tNext=12557,prop=232974!sFirst!tFirst]
2014-06-09 21:46:36.092+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is target.
        Node[22,used=true,rel=229943,prop=515769,labels=Inline(0x3016008005:[5, 8, 22]),light]
        Inconsistent with: Relationship[229943,used=true,source=188310,target=22,type=4,sPrev=229944,sNext=229942,tPrev=241749,tNext=12592,prop=232989!sFirst!tFirst]
2014-06-09 21:46:36.093+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is target.
        Node[24,used=true,rel=248096,prop=515771,labels=Inline(0x3016008005:[5, 8, 22]),light]
        Inconsistent with: Relationship[248096,used=true,source=192640,target=24,type=6,sPrev=248097,sNext=248062,tPrev=259898,tNext=248095,prop=1106109!sFirst!tFirst]
2014-06-09 21:46:36.093+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is target.
        Node[26,used=true,rel=229947,prop=515773,labels=Inline(0x3016008005:[5, 8, 22]),light]
        Inconsistent with: Relationship[229947,used=true,source=188310,target=26,type=4,sPrev=229948,sNext=229946,tPrev=241753,tNext=12688,prop=233001!sFirst!tFirst]
2014-06-09 21:46:36.093+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is target.
        Node[28,used=true,rel=248004,prop=1054501,labels=Inline(0x3016008005:[5, 8, 22]),light]
        Inconsistent with: Relationship[248004,used=true,source=192631,target=28,type=6,sPrev=248031,sNext=247985,tPrev=259805,tNext=248003,prop=1054470!sFirst!tFirst]
2014-06-09 21:46:36.093+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is target.
        Node[29,used=true,rel=1025889,prop=1115241,labels=Inline(0x3016008005:[5, 8, 22]),light]
        Inconsistent with: Relationship[1025889,used=true,source=834654,target=29,type=6,sPrev=1026086,sNext=1025814,tPrev=1037658,tNext=1025888,prop=1115240!sFirst!tFirst]

[...]"><pre class="notranslate"><code class="notranslate">Full consistency check
...2014-06-09 19:49:34.434+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[182739,used=true,rel=-1,prop=1067728,labels=Dynamic(id:333),light]
    Inconsistent with: Property[1067728,used=true,prev=1208110,next=166304,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=sessions-table],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
2014-06-09 19:49:34.436+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[182860,used=true,rel=-1,prop=1067611,labels=Dynamic(id:414),light]
    Inconsistent with: Property[1067611,used=true,prev=1208109,next=190070,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=speakers],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
2014-06-09 19:49:34.474+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[209499,used=true,rel=-1,prop=1067728,labels=Dynamic(id:333),light]
    Inconsistent with: Property[1067728,used=true,prev=1208110,next=166304,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=sessions-table],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
2014-06-09 19:49:34.476+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[209620,used=true,rel=-1,prop=1067611,labels=Dynamic(id:414),light]
    Inconsistent with: Property[1067611,used=true,prev=1208109,next=190070,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=speakers],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
.2014-06-09 19:49:34.513+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[236259,used=true,rel=-1,prop=1067728,labels=Dynamic(id:333),light]
    Inconsistent with: Property[1067728,used=true,prev=1208110,next=166304,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=sessions-table],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
2014-06-09 19:49:34.514+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[236380,used=true,rel=-1,prop=1067611,labels=Dynamic(id:414),light]
    Inconsistent with: Property[1067611,used=true,prev=1208109,next=190070,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=speakers],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
2014-06-09 19:49:34.548+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[263019,used=true,rel=-1,prop=1067728,labels=Dynamic(id:333),light]
    Inconsistent with: Property[1067728,used=true,prev=1208110,next=166304,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=sessions-table],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
2014-06-09 19:49:34.549+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[263140,used=true,rel=-1,prop=1067611,labels=Dynamic(id:414),light]
    Inconsistent with: Property[1067611,used=true,prev=1208109,next=190070,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=speakers],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]
.2014-06-09 19:49:34.571+0000 INFO  [org.neo4j]: ERROR: The referenced property record is not the first in its property chain.
    Node[289779,used=true,rel=-1,prop=1067728,labels=Dynamic(id:333),light]
    Inconsistent with: Property[1067728,used=true,prev=1208110,next=166304,PropertyBlock[blocks=2,SHORT_STRING,key=53,value=sessions-table],PropertyBlock[blocks=2,SHORT_STRING,key=0,value=Table]]

[...]

2014-06-09 21:46:36.092+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is source.
        Node[7,used=true,rel=249638,prop=515754,labels=Dynamic(id:1),light]
        Inconsistent with: Relationship[249638,used=true,source=7,target=6234,type=12,sPrev=251865,sNext=249630,tPrev=261441,tNext=249637,prop=1050523!sFirst!tFirst]
2014-06-09 21:46:36.092+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is target.
        Node[14,used=true,rel=229934,prop=515761,labels=Inline(0x3016008005:[5, 8, 22]),light]
        Inconsistent with: Relationship[229934,used=true,source=188310,target=14,type=4,sPrev=229935,sNext=229933,tPrev=241740,tNext=12507,prop=232962!sFirst!tFirst]
2014-06-09 21:46:36.092+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is target.
        Node[19,used=true,rel=229938,prop=515766,labels=Inline(0x3016008005:[5, 8, 22]),light]
        Inconsistent with: Relationship[229938,used=true,source=188310,target=19,type=4,sPrev=229939,sNext=229937,tPrev=241744,tNext=12557,prop=232974!sFirst!tFirst]
2014-06-09 21:46:36.092+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is target.
        Node[22,used=true,rel=229943,prop=515769,labels=Inline(0x3016008005:[5, 8, 22]),light]
        Inconsistent with: Relationship[229943,used=true,source=188310,target=22,type=4,sPrev=229944,sNext=229942,tPrev=241749,tNext=12592,prop=232989!sFirst!tFirst]
2014-06-09 21:46:36.093+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is target.
        Node[24,used=true,rel=248096,prop=515771,labels=Inline(0x3016008005:[5, 8, 22]),light]
        Inconsistent with: Relationship[248096,used=true,source=192640,target=24,type=6,sPrev=248097,sNext=248062,tPrev=259898,tNext=248095,prop=1106109!sFirst!tFirst]
2014-06-09 21:46:36.093+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is target.
        Node[26,used=true,rel=229947,prop=515773,labels=Inline(0x3016008005:[5, 8, 22]),light]
        Inconsistent with: Relationship[229947,used=true,source=188310,target=26,type=4,sPrev=229948,sNext=229946,tPrev=241753,tNext=12688,prop=233001!sFirst!tFirst]
2014-06-09 21:46:36.093+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is target.
        Node[28,used=true,rel=248004,prop=1054501,labels=Inline(0x3016008005:[5, 8, 22]),light]
        Inconsistent with: Relationship[248004,used=true,source=192631,target=28,type=6,sPrev=248031,sNext=247985,tPrev=259805,tNext=248003,prop=1054470!sFirst!tFirst]
2014-06-09 21:46:36.093+0000 INFO  [org.neo4j]: ERROR: The referenced relationship record is not the first in the relationship chain where this node is target.
        Node[29,used=true,rel=1025889,prop=1115241,labels=Inline(0x3016008005:[5, 8, 22]),light]
        Inconsistent with: Relationship[1025889,used=true,source=834654,target=29,type=6,sPrev=1026086,sNext=1025814,tPrev=1037658,tNext=1025888,prop=1115240!sFirst!tFirst]

[...]
</code></pre></div>