neo4j/neo4j — pull request #1911 by tinwelint (2014-02-05 15:23:28+00:00)
Title: Fixes issue where high id would take a leap after crash

Problem was that the id generator was openened with the highest seen id
passed in as the highId argument when constructing the id generator. It
should have been 0 since at that point whatever is persisted takes
presedence.

Also fixed an issue with silent upgrades of neostore, where those are done
inside a "recovery" block. That problem somehow surfaced after the above
change.