neo4j/community — Issue #52: Not all rels are returned when deleting at the same time as lazily loading
Author: tinwelint
Created: 2011-10-08 20:32:45+00:00
State: open

If creating more than one "grab size" relationships of a type for a node and then iterating over those relationships (when they haven't been loaded for that node before) at the same time as deleting them and committing the transaction now and then, not all rels are returned from the getRelationships' Iterable. If done several times all relationships are returned at last.

See @Ignored test in: org.neo4j.kernel.impl.core.TestRelationship#deleteRelsWithCommitInMiddle()