neo4j/neo4j — pull request #3166 by martinfurmanski (2014-09-26 15:49:09+00:00)
Title: Extract pruning and only wait for rotation to complete.

Previously all threads had to wait on the combined rotation and pruning
operation to finish. Now all threads will only have to wait on the rotation
to finish and one unlucky thread will get the pruning lock (tryLock())
and have its transaction stalled while doing the pruning.