elasticsearch/elasticsearch — pull request #5411 by imotov (2014-03-12 23:50:30+00:00)
Title: Add retry mechanism to get snapshot method

During snapshot finalization the snapshot file is getting overwritten. If we try to read the snapshot file at this moment we can get back an empty or incomplete snapshot. This change adds a retry mechanism in case of such failure.