Hi.
I'm trying to figure out how exactly the ID recycling mechanism works
in Neo4J.
Searching for an answer online, I found a few contradicting replies:
1)
http://stackoverflow.com/questions/8359735/deleted-node-reappears-in-neo4j
the above link says that ID Recycling has to be enabled, and isn't
enabled by default. On the other hand, it says the exact opposite
(plus that ID recycling can't be disabled at all) on this link-
http://neo4j.org/nabble/#nabble-td2874501
2)
http://neo4j.org/nabble/#nabble-td3493935
One of the comments in the above link mentions that IDs that were
deleted in one instance of Neo4J won't be reused in the same run, but
instead will be saved to the disk, and can only get recycled at the
earliest in the next run (when a new instance is created). I've dived
into the code in IdGeneratorImpl and I'm pretty sure that's not the
case - meaning, I think ID recycling can happen within the context of
one run, i.e. an ID which was removed will get reused without taking
down and restarting the application.
So my question is, which is correct? Can ID Recycling be disabled? If
not, can it happen within the same run?
Thank you.