neo4j/neo4j — pull request #3191 by jakewins (2014-09-30 18:33:23+00:00)
Title: Resolve two race conditions relating to HA lock sessions

- Add a check ensuring a slave commit has a running lock session when committing,
or has explicitly opted out from having one.
- Move lock session management into its own class, where timeouts and concurrent
access can be tested in isolation.