# Elasticsearch 2.1.1 is recovery can skip translog stage

**URL:** <https://discuss.elastic.co/t/elasticsearch-2-1-1-is-recovery-can-skip-translog-stage/57403>\
**Category:** Elasticsearch\
**Created:** [August 6, 2016, 4:40pm UTC](https://discuss.elastic.co/t/elasticsearch-2-1-1-is-recovery-can-skip-translog-stage/57403 "2016-08-06T16:40:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![win1027](https://avatars.discourse-cdn.com/v4/letter/w/7bcc69/32.png) [@win1027](https://discuss.elastic.co/u/win1027)\
**Post date:** [August 6, 2016, 4:40pm UTC](https://discuss.elastic.co/t/elasticsearch-2-1-1-is-recovery-can-skip-translog-stage/57403/1 "2016-08-06T16:40:04Z")

</div>

this is show how slow when recovery.

> [@ES 2.1 shards stuck in translog recovery](https://discuss.elastic.co/t/es-2-1-shards-stuck-in-translog-recovery/35716/8):
>
> I had a similar issue, where my shards would take forever to relocate when the cluster is grown or shrunk, flushing all shards via /\_flush solved the problem for me. Doesn't it take make sense to flush the shard before trying to replicate it somewhere? I had shards with translogs over 1gig?

some info:  
index shard time type stage source\_host target\_host repository snapshot files files\_percent bytes bytes\_percent total\_files total\_bytes translog translog\_percent total\_translog

index\*\*\* 0 15635239 store translog 10.\* 10.\* n/a n/a 0 100.0% 0 100.0% 110 11184965870 1267370 -1.0% -1

this is use 13 h. i want to skip translog stage and make cluster from red to yellow

---

<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:** [August 6, 2016, 10:49pm UTC](https://discuss.elastic.co/t/elasticsearch-2-1-1-is-recovery-can-skip-translog-stage/57403/2 "2016-08-06T22:49:50Z")

</div>

The only way to do that would be to delete the translog, and then you lose the data that it contains.

How large is the actual file?

---

<div class="post-metadata">

**Author:** ![win1027](https://avatars.discourse-cdn.com/v4/letter/w/7bcc69/32.png) [@win1027](https://discuss.elastic.co/u/win1027)\
**Post date:** [August 8, 2016, 8:42am UTC](https://discuss.elastic.co/t/elasticsearch-2-1-1-is-recovery-can-skip-translog-stage/57403/3 "2016-08-08T08:42:50Z")

</div>

> <https://github.com/elastic/elasticsearch/issues/15814>

  

> <https://github.com/elastic/elasticsearch/pull/15830>

i found this bug make my translog is large, 20G... i exe POST /\_flush and translog flush is normal

---

<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, 10:29pm UTC](https://discuss.elastic.co/t/elasticsearch-2-1-1-is-recovery-can-skip-translog-stage/57403/4 "2017-07-05T22:29:29Z")

</div>


