elasticsearch/elasticsearch — pull request #6526 by bleskes (2014-06-17 08:06:41+00:00)
Title: [Discovery] when master is gone, flush all pending cluster states

If the master FD flags master as gone while there are still pending cluster states, the processing of those cluster states we re-instate that node a master again.

**NOTE:** this PR is for the `feature/improve_zen` branch