# Index corruption and recovery loop

**URL:** https://discuss.elastic.co/t/index-corruption-and-recovery-loop/19061
**Category:** Elasticsearch
**Created:** [August 4, 2014, 7:44am UTC](https://discuss.elastic.co/t/index-corruption-and-recovery-loop/19061 "2014-08-04T07:44:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Vadim\_Molokovich](https://avatars.discourse-cdn.com/v4/letter/v/a6a055/32.png) [@Vadim\_Molokovich](https://discuss.elastic.co/u/Vadim_Molokovich)
#### Post date: [August 4, 2014, 7:44am UTC](https://discuss.elastic.co/t/index-corruption-and-recovery-loop/19061/1 "2014-08-04T07:44:14Z")

</div>

Hi  
After network connectivity failure we have corrupted index recovery loop in  
cluster.  
Any help will be greatly appreciated!

\*Cluster state: \*

_elasticsearch version 1.3.0_

"cluster\_name" : "segments",  
"status" : "red",  
"timed\_out" : false,  
"number\_of\_nodes" : 6,  
"number\_of\_data\_nodes" : 6,  
"active\_primary\_shards" : 36,  
"active\_shards" : 72,  
"relocating\_shards" : 0,  
"initializing\_shards" : 5,  
"unassigned\_shards" : 5  
}

_Error code:_[2014-08-03 16:36:32,219][WARN][cluster.action.shard] [sgm-es3] [profiles][3] sending failed shard for [profiles][3], node[ul4j2QmjT1OC885vqCdGZw], [P], s[INITIALIZING], indexUUID [1OFm5O1AQjyn9zPwJqbrsg], reason [Failed to start shard, message [IndexShardGatewayRecoveryException[[profiles][3] failed to fetch index version after copying it over]; nested: CorruptIndexException[[profiles][3] Corrupted index [corrupted\_C1fjnSSiTn2veXgbo7tREA] caused by: CorruptIndexException[codec footer mismatch: actual footer=1852273495 vs expected footer=-1071082520 (resource: NIOFSIndexInput(path="/usr/local/var/data/elasticsearch/segments/nodes/0/indices/profiles/3/index/\_1on\_XBloomFilter\_0.smy"))]]; ]]\*  
Shards status:  
\*

profiles 2 p INITIALIZING 144.76.224.205 sgm-es3  
profiles 2 r UNASSIGNED  
profiles 0 p INITIALIZING 144.76.96.137 sgm-es1

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/229c6aca-9995-466d-8a79-d570bb05907f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/229c6aca-9995-466d-8a79-d570bb05907f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 1:11am UTC](https://discuss.elastic.co/t/index-corruption-and-recovery-loop/19061/2 "2017-07-06T01:11:15Z")

</div>


