elasticsearch/elasticsearch — pull request #7693 by s1monw (2014-09-11 14:12:41+00:00)
Title: [STORE] Turn unexpected exception into CorruptedIndexException

Today if we run into exception like NumberFormatException or IAE
when we try to open a commit point to retrieve checksums and calculate
store metadata we just bubble them up. Yet, those are very likely index
corruptions. In such a case we should really mark the shard as
corrupted.