My neo4j db is in a corrupted state. A former node, also a Person node connected to a State via Address, prevents any matches from working:
match (p:Person)--(:Address)--(s:State) where s.name="Cali" return p, s
Node with id 101005
Neo.ClientError.Statement.EntityNotFound
I suspect this is something to do with the 101005 node still existing in the label index even though it's been deleted.
How do I recover without clearing all of the data? I've deleted all of the Person relationships/nodes and reloaded them to no avail. Using a different label ("Persons") doesn't help either.
Ubuntu, Neo4j 2.0.0 M06 when created and now on 2.0.0 stable, using cypher in the browser.
Thanks.
Edit:
Previously, when deleting other nodes, the query timed out and the db went unresponsive with a heap space exception in the logs:
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "Statistics Gatherer[primitives]"
08:35:29.207 [qtp1069006536-4036] WARN o.e.jetty.servlet.ServletHandler - Error for /db/data/transaction/commit
java.lang.OutOfMemoryError: Java heap space
EntityNotFound
is thrown exactly. – Nicholas