elasticsearch/elasticsearch — pull request #7744 by bleskes (2014-09-16 14:31:40+00:00)
Title: Recovery: mapping check during phase2 should be done in cluster state up date task

Before phase2 of the recovery process, we check verify that the local mapping is in sync with the cluster state mapping (and send & wait on a master update mapping task if not). This check should be done under a cluster state update task to make sure an incoming cluster state update to do not change things while we check.