# Reindex version conflict

**URL:** https://discuss.elastic.co/t/reindex-version-conflict/273352
**Category:** Elasticsearch
**Created:** [May 18, 2021, 10:20pm UTC](https://discuss.elastic.co/t/reindex-version-conflict/273352 "2021-05-18T22:20:17Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![alexs1](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@alexs1](https://discuss.elastic.co/u/alexs1)
#### Post date: [May 18, 2021, 10:20pm UTC](https://discuss.elastic.co/t/reindex-version-conflict/273352/1 "2021-05-18T22:20:17Z")

</div>

Hello,  
What is exactly a version conflict ? An example will be appreciated.

Thank you

---

<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: [May 19, 2021, 1:02am UTC](https://discuss.elastic.co/t/reindex-version-conflict/273352/2 "2021-05-19T01:02:58Z")

</div>

It's when the `_version` that is supplied to Elasticsearch is the same as what is in the existing document, or when the version supplied is lower that what is existing.

---

<div class="post-metadata">

### Author: ![alexs1](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@alexs1](https://discuss.elastic.co/u/alexs1)
#### Post date: [May 19, 2021, 9:47am UTC](https://discuss.elastic.co/t/reindex-version-conflict/273352/3 "2021-05-19T09:47:33Z")

</div>

thanks @warkolm

so, if I get this right, in the following example, 8,590,000 documents (with matching documents with the same id already exist) were updated during the reindex duration? (reindex was running with op\_type=createbtw )

![image](https://us1.discourse-cdn.com/elastic/original/3X/a/d/ad4a4ff1afbc9d37b5b38bb8afd531df44f679c8.png)

---

<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: [May 20, 2021, 1:30am UTC](https://discuss.elastic.co/t/reindex-version-conflict/273352/4 "2021-05-20T01:30:32Z")

</div>

Please don't post pictures of text or code, they are difficult to read, impossible to search and replicate (if it's code), and some people may not be even able to see them 🙂

I don't have any context for what those stats are sorry.

---

<div class="post-metadata">

### Author: ![alexs1](https://avatars.discourse-cdn.com/v4/letter/a/47e85d/32.png) [@alexs1](https://discuss.elastic.co/u/alexs1)
#### Post date: [May 20, 2021, 10:35am UTC](https://discuss.elastic.co/t/reindex-version-conflict/273352/5 "2021-05-20T10:35:19Z")

</div>

Sorry. Thats part of the response of Get \_task/taskid

---

<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: [June 17, 2021, 10:36am UTC](https://discuss.elastic.co/t/reindex-version-conflict/273352/6 "2021-06-17T10:36:11Z")

</div>

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