# ES Upgrade from 5.6 to 6.8

**URL:** <https://discuss.elastic.co/t/es-upgrade-from-5-6-to-6-8/196873>\
**Category:** Elasticsearch\
**Created:** [August 27, 2019, 5:36am UTC](https://discuss.elastic.co/t/es-upgrade-from-5-6-to-6-8/196873 "2019-08-27T05:36:14Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Indu\_Nallithodi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/indu_nallithodi/32/53063_2.png) [@Indu\_Nallithodi](https://discuss.elastic.co/u/Indu_Nallithodi)\
**Post date:** [August 27, 2019, 5:36am UTC](https://discuss.elastic.co/t/es-upgrade-from-5-6-to-6-8/196873/1 "2019-08-27T05:36:14Z")

</div>

After upgrade to 6.8.0 as rolling upgrade:partial update is giving Validation exception  
/\_update?refresh=true  
{"error":{"root\_cause":[{"type":"remote\_transport\_exception","reason":"[node-02][:9300][indices:data/write/update[s]]"}],"type":"illegal\_argument\_exception","reason":"Validation Failed: 1: ifSeqNo is unassigned, but primary term is [4];"},"status":400}

The documentation says these parameters are optional to \_update.  
How to fix this on transit documents on rolling upgrade

Same operation works on a cluster which already running on 6.8 without any additional param other than 'refresh'

---

<div class="post-metadata">

**Author:** ![nhat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nhat/32/22170_2.png) [@nhat](https://discuss.elastic.co/u/nhat)\
**Post date:** [August 30, 2019, 2:06pm UTC](https://discuss.elastic.co/t/es-upgrade-from-5-6-to-6-8/196873/2 "2019-08-30T14:06:21Z")

</div>

Hi @Indu_Nallithodi

Thank you for reporting this. I will try to reproduce the issue and give you an update soon.

---

<div class="post-metadata">

**Author:** ![nhat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nhat/32/22170_2.png) [@nhat](https://discuss.elastic.co/u/nhat)\
**Post date:** [August 31, 2019, 4:36am UTC](https://discuss.elastic.co/t/es-upgrade-from-5-6-to-6-8/196873/3 "2019-08-31T04:36:45Z")

</div>

Hi @Indu_Nallithodi

Unfortunately, there's a bug where we might not be able to partially update documents which are created in a mixed cluster between 5.x and 6.x. I opened [https://github.com/elastic/elasticsearch/pull/46198](https://github.com/elastic/elasticsearch/pull/46198) to propose the fix.

A workaround is to reindex those documents. The following query should return those documents.

```auto
  "query": {
        "term": {
            "_seq_no": -2
        }
    }

```

---

<div class="post-metadata">

**Author:** ![Indu\_Nallithodi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/indu_nallithodi/32/53063_2.png) [@Indu\_Nallithodi](https://discuss.elastic.co/u/Indu_Nallithodi)\
**Post date:** [September 1, 2019, 10:32pm UTC](https://discuss.elastic.co/t/es-upgrade-from-5-6-to-6-8/196873/4 "2019-09-01T22:32:53Z")

</div>

Thanks @nhat for addressing this

So could you please confirm will we get the fix with 6.8.0 rpm soon?  
If not yet ready would you be able to update when will be available, this will help in our rollout planning

Thanks  
Indu

---

<div class="post-metadata">

**Author:** ![nhat](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nhat/32/22170_2.png) [@nhat](https://discuss.elastic.co/u/nhat)\
**Post date:** [September 2, 2019, 2:02am UTC](https://discuss.elastic.co/t/es-upgrade-from-5-6-to-6-8/196873/5 "2019-09-02T02:02:09Z")

</div>

Hi @Indu_Nallithodi, The fix will be included in the 6.8.4. We don't share the released dates of the upcoming versions.

---

<div class="post-metadata">

**Author:** ![Indu\_Nallithodi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/indu_nallithodi/32/53063_2.png) [@Indu\_Nallithodi](https://discuss.elastic.co/u/Indu_Nallithodi)\
**Post date:** [September 2, 2019, 5:02am UTC](https://discuss.elastic.co/t/es-upgrade-from-5-6-to-6-8/196873/6 "2019-09-02T05:02:40Z")

</div>

Thanks Nhat for the updates

---

<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:** [September 30, 2019, 5:02am UTC](https://discuss.elastic.co/t/es-upgrade-from-5-6-to-6-8/196873/7 "2019-09-30T05:02:42Z")

</div>

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