TranslogCorruptedException and root cause

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

What version are you on?

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

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

Try turning up logging and waiting.