neo4j/neo4j — pull request #2899 by lutovich (2014-08-21 08:53:58+00:00)
Title: Fixed race during HA slaves creation

This PR fixes excessive SlaveClient threads creation, which occurred because concurrent calls to ```HighAvailabilitySlaves#getSlaves``` could cause many orphan ```SlaveClient```s to appear in ```HighAvailabilitySlaves.life```. Every ```SlaveClient``` has a thread pool for netty.