# NoSuchFileException translog.ckp missing problem

**URL:** <https://discuss.elastic.co/t/nosuchfileexception-translog-ckp-missing-problem/130433>\
**Category:** Elasticsearch\
**Created:** [May 3, 2018, 10:56am UTC](https://discuss.elastic.co/t/nosuchfileexception-translog-ckp-missing-problem/130433 "2018-05-03T10:56:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![itplayer](https://avatars.discourse-cdn.com/v4/letter/i/d26b3c/32.png) [@itplayer](https://discuss.elastic.co/u/itplayer)\
**Post date:** [May 3, 2018, 10:56am UTC](https://discuss.elastic.co/t/nosuchfileexception-translog-ckp-missing-problem/130433/1 "2018-05-03T10:56:11Z")

</div>

Hi folks,  
I encountered an exception which is index recover failed due to translog EOFexception, I did some research and it seems to be corrupted translog.

I tried to delete the translog directory(and all files contained) of the problematic index, then restart the node. The exception popuped as below:

`[2018-05-03T10:03:27,282][WARN][o.e.c.a.s.ShardStateAction] [0fcbafcc-e892-468a-820c-a641a49107d1] [data_20180504][0] received shard failed for shard id [[data_20180504][0]], allocation id [t0r1USN7RlmfI2tcqrvyVA], primary term [0], message [failed recovery], failure [RecoveryFailedException[[data_20180504][0]: Recovery failed on {0fcbafcc-e892-468a-820c-a641a49107d1}{LxzCvECiTZOzzTfFL7NYKg}{VGPw5nugQN6COcRlruao5A}{172.17.11.11}{172.17.11.11:9300}]; nested: IndexShardRecoveryException[failed to recover from gateway]; nested: EngineCreationFailureException[failed to create engine]; nested: NoSuchFileException[/ES/data/xyz/nodes/0/indices/TMCdiDCpR62Z5HzwoEB-HA/0/translog/translog.ckp]; ]`

My question:

1. Delete the translog directory is a right approach to deal with this problem at first? I don't care lost those docs in translog.

2. For the current situation, how to recover?

Thanks for you sharing.

---

<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:** [May 31, 2018, 10:56am UTC](https://discuss.elastic.co/t/nosuchfileexception-translog-ckp-missing-problem/130433/2 "2018-05-31T10:56:21Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
