# TranslogCorruptedException and root cause

**URL:** <https://discuss.elastic.co/t/translogcorruptedexception-and-root-cause/31933>\
**Category:** Elasticsearch\
**Created:** [October 9, 2015, 8:02pm UTC](https://discuss.elastic.co/t/translogcorruptedexception-and-root-cause/31933 "2015-10-09T20:02:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pradeep\_Gowda](https://avatars.discourse-cdn.com/v4/letter/p/ebca7d/32.png) [@Pradeep\_Gowda](https://discuss.elastic.co/u/Pradeep_Gowda)\
**Post date:** [October 9, 2015, 8:02pm UTC](https://discuss.elastic.co/t/translogcorruptedexception-and-root-cause/31933/1 "2015-10-09T20:02:56Z")

</div>

Hi Everyone,

For the second time, I am coming across TranslogCorruptedException in my production environment and every time I delete recovery file and translog file to bring back the index to healthy state. But I am really not sure the reason behind this.

```
org.elasticsearch.index.translog.TranslogCorruptedException: translog corruption while reading from stream

```

Can anyone know the root cause for this exception and how to recover index efficiently?

Thanks

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 10, 2015, 2:28am UTC](https://discuss.elastic.co/t/translogcorruptedexception-and-root-cause/31933/2 "2015-10-10T02:28:29Z")

</div>

What version are you on?

---

<div class="post-metadata">

**Author:** ![Pradeep\_Gowda](https://avatars.discourse-cdn.com/v4/letter/p/ebca7d/32.png) [@Pradeep\_Gowda](https://discuss.elastic.co/u/Pradeep_Gowda)\
**Post date:** [October 10, 2015, 5:19am UTC](https://discuss.elastic.co/t/translogcorruptedexception-and-root-cause/31933/3 "2015-10-10T05:19:50Z")

</div>

I am using 1.7.2. I had faced this issue in previous version also.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [October 11, 2015, 2:05am UTC](https://discuss.elastic.co/t/translogcorruptedexception-and-root-cause/31933/4 "2015-10-11T02:05:59Z")

</div>

It could be disk issues, but it's hard to say without more info.

Try turning up logging and waiting.

---

<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 5, 2017, 11:45pm UTC](https://discuss.elastic.co/t/translogcorruptedexception-and-root-cause/31933/5 "2017-07-05T23:45:30Z")

</div>

Closed on July 5, 2017, 11:45pm UTC


