elasticsearch/elasticsearch — pull request #2200 by uboness (2012-08-23 19:45:18+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