On Thu, Mar 10, 2011 at 9:58 PM, Massimo Lusetti <mluse...@gmail.com> wrote:

> On Thu, Mar 10, 2011 at 6:11 PM, Axel Morgner <a...@morgner.de> wrote:
>
>> Hi,
>>
>> I'm getting an InvalidRecordException
>>
>> org.neo4j.kernel.impl.nioneo.store.InvalidRecordException: Node[5] is
>> neither firstNode[37781] nor secondNode[37782] for Relationship[188125]
>>     at
>> org.neo4j.kernel.impl.nioneo.xa.ReadTransaction.getMoreRelationships(ReadTransaction.java:131)
>>     at
>> org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource$ReadOnlyResourceConnection.getMoreRelationships(NioNeoDbPersistenceSource.java:280)
>>     at
>> org.neo4j.kernel.impl.persistence.PersistenceManager.getMoreRelationships(PersistenceManager.java:100)
>>     at
>> org.neo4j.kernel.impl.core.NodeManager.getMoreRelationships(NodeManager.java:585)
>>     at
>> org.neo4j.kernel.impl.core.NodeImpl.getMoreRelationships(NodeImpl.java:358)
>>     at
>> org.neo4j.kernel.impl.core.IntArrayIterator.hasNext(IntArrayIterator.java:115)
>>
>> when iterating through the relationships of a certain node:
>>
>>             Node node = graphDb.getNodeById(sNode.getId());
>>
>>             Iterable<Relationship> rels =
>> node.getRelationships(relType, dir);
>>
>>             for (Relationship r : rels) { <--------- here the expeption
>> occurs
>>                 ...
>>             }
>>
>> I'm using 1.3.M03.
>>
>> Seems that the database is in an inconsitant state. Don't know how this
>> could happen ...
>>
>>
>> Greetings
>>
>> Axel
>>
>> _______________________________________________
>> Neo4j mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
>
>
> I'm encountering this same/similar exception quite ofter lately, with
> the same 1.3.M03 version, on FreeBSD 8.2 with  OpenJDK Runtime
> Environment (build 1.6.0-b21) OpenJDK 64-Bit Server VM (build
> 19.0-b09, mixed mode):
>
> org.neo4j.kernel.impl.nioneo.store.InvalidRecordException:
> Record[4130751] not in use
>        at 
> org.neo4j.kernel.impl.nioneo.store.RelationshipStore.getRecord(RelationshipStore.java:194)
>        at 
> org.neo4j.kernel.impl.nioneo.store.RelationshipStore.getRecord(RelationshipStore.java:96)
>        at 
> org.neo4j.kernel.impl.nioneo.xa.WriteTransaction.connectRelationship(WriteTransaction.java:1435)
>        at 
> org.neo4j.kernel.impl.nioneo.xa.WriteTransaction.relationshipCreate(WriteTransaction.java:1389)
>        at 
> org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaConnection$RelationshipEventConsumerImpl.createRelationship(NeoStoreXaConnection.java:256)
>        at 
> org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource$NioNeoDbResourceConnection.relationshipCreate(NioNeoDbPersistenceSource.java:370)
>        at 
> org.neo4j.kernel.impl.persistence.PersistenceManager.relationshipCreate(PersistenceManager.java:153)
>        at 
> org.neo4j.kernel.impl.core.NodeManager.createRelationship(NodeManager.java:309)
>        at 
> org.neo4j.kernel.impl.core.NodeImpl.createRelationshipTo(NodeImpl.java:387)
>        at 
> org.neo4j.kernel.impl.core.NodeProxy.createRelationshipTo(NodeProxy.java:186)
>
> Did it rings and alert bell!?
>
> Cheers
> --
> Massimo
> http://meridio.blogspot.com
>

I still getting these errors more and more as the DB grows in size and
node/relations numbers:



org.neo4j.kernel.impl.nioneo.store.InvalidRecordException: Node[8388]
is neither firstNode[0] nor secondNode[0] for Relationship[4925127]
        at 
org.neo4j.kernel.impl.nioneo.xa.WriteTransaction.getMoreRelationships(WriteTransaction.java:909)
        at 
org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaConnection$RelationshipEventConsumerImpl.getMoreRelationships(NeoStoreXaConnection.java:304)
        at 
org.neo4j.kernel.impl.nioneo.xa.NioNeoDbPersistenceSource$NioNeoDbResourceConnection.getMoreRelationships(NioNeoDbPersistenceSource.java:465)
        at 
org.neo4j.kernel.impl.persistence.PersistenceManager.getMoreRelationships(PersistenceManager.java:100)
        at 
org.neo4j.kernel.impl.core.NodeManager.getMoreRelationships(NodeManager.java:585)
        at 
org.neo4j.kernel.impl.core.NodeImpl.getMoreRelationships(NodeImpl.java:358)
        at 
org.neo4j.kernel.impl.core.IntArrayIterator.hasNext(IntArrayIterator.java:115)

Do you think the DB is getting corrupted?
-- 
Massimo
http://meridio.blogspot.com
_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to