neo4j/community — pull request #527 by jakewins (2012-05-16 07:38:49+00:00)
Title: Moved code that determines state of logical log files into it's own class

This also moves the "log needs recovery" check into a class of it's own, even though it is super simplistic, this way there is a single authorative source for determining that.

These changes will enable writing a class that can determine what logical log file should be opened (if any), and if that log will need recovery. This will enable the server to determine if recovery will be required, and use that info to let the user know that recovery is running.