elasticsearch/elasticsearch — pull request #2202 by uboness (2012-08-23 22:26:54+00:00)
Title: Local node master listener

* Fixed an issue where dynamic update to minimum_master_nodes settings would not take immediate effect
* Added LocalNodeMasterListener support to the ClusterService. Enables listening to when the local node becomes/stopped being a master