elasticsearch/elasticsearch — pull request #9102 by s1monw (2014-12-30 16:24:06+00:00)
Title: [RECOVERY] Release store lock before blocking on mapping updates

This can lead to sporadic shard creating timeouts if the same shard is
created, closed and created again on the same node. The reason for this is
that we holding on to the store reference while blocking on the mapping update
that will prevent the shard lock from being released. Holding the lock is unnecessary
in this case and can simply be removed.