# Would ES reindex API ignore all updates post reindex is triggered

**URL:** https://discuss.elastic.co/t/would-es-reindex-api-ignore-all-updates-post-reindex-is-triggered/258948
**Category:** Elasticsearch
**Created:** [December 17, 2020, 7:02am UTC](https://discuss.elastic.co/t/would-es-reindex-api-ignore-all-updates-post-reindex-is-triggered/258948 "2020-12-17T07:02:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![the123saurav](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/the123saurav/32/47551_2.png) [@the123saurav](https://discuss.elastic.co/u/the123saurav)
#### Post date: [December 17, 2020, 7:02am UTC](https://discuss.elastic.co/t/would-es-reindex-api-ignore-all-updates-post-reindex-is-triggered/258948/1 "2020-12-17T07:02:41Z")

</div>

I read that ES' reindex API works by taking a snapshot of the source index.  
So let's say i triggered reindexing at T0 and this finished at T2.  
So if say any create/update/delete came for any document at T1 (T0 \< T1 \< T2), will it be missed?  
We are using ES 6.0

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [December 17, 2020, 7:25am UTC](https://discuss.elastic.co/t/would-es-reindex-api-ignore-all-updates-post-reindex-is-triggered/258948/2 "2020-12-17T07:25:42Z")

</div>

Yes, only the documents present at the time the reindexing job was started will be processed. If documents are updated while the job is running you may get version conflicts which could result in failure.

Elasticsearch 6.0 is a very old version and you should really look to upgrade, at least to Elasticsearch 6.8.

---

<div class="post-metadata">

### Author: ![the123saurav](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/the123saurav/32/47551_2.png) [@the123saurav](https://discuss.elastic.co/u/the123saurav)
#### Post date: [December 17, 2020, 7:28am UTC](https://discuss.elastic.co/t/would-es-reindex-api-ignore-all-updates-post-reindex-is-triggered/258948/3 "2020-12-17T07:28:04Z")

</div>

I didn't get the version conflict part.  
My target index would initially be empty, so how do we get version conflict?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [December 17, 2020, 7:32am UTC](https://discuss.elastic.co/t/would-es-reindex-api-ignore-all-updates-post-reindex-is-triggered/258948/4 "2020-12-17T07:32:49Z")

</div>

Elasticsearch may indeed not be able to detect that underlying documents have changed so maybe there won't be any conflicts.

---

<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: [January 14, 2021, 7:32am UTC](https://discuss.elastic.co/t/would-es-reindex-api-ignore-all-updates-post-reindex-is-triggered/258948/5 "2021-01-14T07:32:50Z")

</div>

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