neo4j/neo4j — pull request #3643 by lutovich (2014-12-11 08:47:58+00:00)
Title: Reserved rel-type records are removed during IdGenerator rebuild

Now relationship type records, that are reachable for highId, are marked as inUse==true and nameId is set to special reserved value (-1). Such behaviour might be dangerous as it can lead to 'Id capacity exceeded' errors for inflated relationship type store files.
This PR makes IdGenerator mark all reserved records as inUse==false during rebuild, so such records can be reused.