elasticsearch/elasticsearch — pull request #7456 by s1monw (2014-08-26 11:56:20+00:00)
Title: [ENGINE] Wait until engine is started up when acquireing searcher

Today we have a small window where a searcher can be acquired but the
engine is in the state of starting up. This causes a NPE triggering a
shard failure if we are fast enough. This commit fixes this situation
gracefully.

Closes #7455