elasticsearch/elasticsearch — pull request #4702 by imotov (2014-01-13 03:43:11+00:00)
Title: Improve support for partial snapshots

Fixes #4701. Changes behaviour of the snapshot operation. The operation now fails if not all primary shards are available at the beginning of the snapshot operation. The restore operation no longer tries to restore indices with shards that failed or were missing during snapshot operation.