I'm running this in Node.js using the node-neo4j driver. After I do the 'start n = node(*) delete n' query,
all further queries fail. I can correct this only by deleting the DB and creating a new one. The query that happened to fail first was:
START n = node(*) where n.foo! = 'bar' return n
This query is purposely meant to return an empty result set.
Additional information: Because of a coding error on my part, the "delete all nodes" query and one or more subsequent queries were issued concurrently. That is, I didn't wait for the "delete all nodes" query to complete before issuing additional queries. I've since corrected that bug and can no longer recreate this problem. However, if I remove that synchronization code, I can easily reproduce this problem. Another member of team also reproduced this problem in a slightly different way. He issued delete requests on multiple nodes in a loop using HTTP DELETE (as opposed to a Cypher query). He also started issuing Cypher queries before the delete loop was complete and ran into the same error.
I note that a similar issue was raised in the 1.5 timeframe (about a year ago) here:
http://neo4j.org/nabble/#nabble-td3513988. I didn't see a resolution though. So I question whether moving my environment to RC1 would be fruitful at this point.
-brian