neo4j/neo4j — pull request #3598 by S124568 (2014-12-03 18:18:47+00:00)
Title: Fixed no slave available error during HA elections

A slave will not go from SLAVE to PENDING if the newly selected master is the same as the old one.
This helps to prevent possible race during new instance joining the cluster and getting an available slave.