# Stability of latest Elasticsearch?

**URL:** <https://discuss.elastic.co/t/stability-of-latest-elasticsearch/25998>\
**Category:** Elasticsearch\
**Created:** [July 21, 2015, 3:12pm UTC](https://discuss.elastic.co/t/stability-of-latest-elasticsearch/25998 "2015-07-21T15:12:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![DigiAngel](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@DigiAngel](https://discuss.elastic.co/u/DigiAngel)\
**Post date:** [July 21, 2015, 3:12pm UTC](https://discuss.elastic.co/t/stability-of-latest-elasticsearch/25998/1 "2015-07-21T15:12:51Z")

</div>

After seeing the CVE's for older ES, I figure it's time to maybe upgrade from 1.4.5. The last time I tried an upgrade, it was a disaster...ES couldn't handle a couple service restarts without failing completely with errors. Can anyone attest to the stability of the current ES? Thank you.

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [July 21, 2015, 3:58pm UTC](https://discuss.elastic.co/t/stability-of-latest-elasticsearch/25998/2 "2015-07-21T15:58:13Z")

</div>

Can you be more specific? Why did you do a couple of service restarts? What errors do you mean? What is "failing completely"?

---

<div class="post-metadata">

**Author:** ![DigiAngel](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@DigiAngel](https://discuss.elastic.co/u/DigiAngel)\
**Post date:** [July 21, 2015, 4:08pm UTC](https://discuss.elastic.co/t/stability-of-latest-elasticsearch/25998/3 "2015-07-21T16:08:38Z")

</div>

This was a while back...here's what I have from my post a few months ago in this list:

marking and sending shard failed due to [failed recovery]

was the error...ES completely stopped collecting data at that point. I removed all the data and rolled back to 1.4.5, which has been working fine since then. As for the service restarts, there are certain times that, after running a fair amount of time, I'll see random CPU spikes. Doing a:

sudo service elasticsearch restart

fixed that. But running the above a few times resulted in that failure above. Hope fully that explains it. Thank you.

---

<div class="post-metadata">

**Author:** ![jprante](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jprante/32/44941_2.png) [@jprante](https://discuss.elastic.co/u/jprante)\
**Post date:** [July 21, 2015, 5:11pm UTC](https://discuss.elastic.co/t/stability-of-latest-elasticsearch/25998/4 "2015-07-21T17:11:27Z")

</div>

Shard failures can have many reasons. The info you gave is quite sparse, exception messages and scenario description would be useful to get an idea what happened - I never had any shard failures. Maybe the index recovery could not get back to work because you have custom analyzers or plugins.

Blind restarts never fix error conditions, they only confuse the cluster.

Be sure to check for breaking changes, stop indexing, flush the indices to empty the translog, and follow the steps in [https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html#setup-upgrade](https://www.elastic.co/guide/en/elasticsearch/reference/current/setup-upgrade.html#setup-upgrade)

All Elasticsearch 1.4.5 and up use Lucene 4.10.4, so from data stability perspective, I think there is no reason to be concerned about data getting corrupted. You nevertheless always need to create a backup of your data.

---

<div class="post-metadata">

**Author:** ![DigiAngel](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@DigiAngel](https://discuss.elastic.co/u/DigiAngel)\
**Post date:** [July 21, 2015, 5:13pm UTC](https://discuss.elastic.co/t/stability-of-latest-elasticsearch/25998/5 "2015-07-21T17:13:39Z")

</div>

That helps thank you....and yea...sorry about the lack of information. I can tell you I have no additional plugins or custom analyzers installed. This setup is pretty basic at home with not a lot of traffic to it. I'll try my upgrade again and report my findings...thanks again.

---

<div class="post-metadata">

**Author:** ![nik9000](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nik9000/32/44947_2.png) [@nik9000](https://discuss.elastic.co/u/nik9000)\
**Post date:** [July 21, 2015, 5:25pm UTC](https://discuss.elastic.co/t/stability-of-latest-elasticsearch/25998/6 "2015-07-21T17:25:49Z")

</div>

> [@jprante](#):
>
> Blind restarts never fix error conditions, they only confuse the cluster.

Full cluster restarts have really helped me on older versions when the master has gone deaf. Its worth keeping in your toolbox, just never using blindly.

---

<div class="post-metadata">

**Author:** ![DigiAngel](https://avatars.discourse-cdn.com/v4/letter/d/977dab/32.png) [@DigiAngel](https://discuss.elastic.co/u/DigiAngel)\
**Post date:** [July 22, 2015, 2:09pm UTC](https://discuss.elastic.co/t/stability-of-latest-elasticsearch/25998/7 "2015-07-22T14:09:09Z")

</div>

Thanks Nik...appreciate it.

---

<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, 11:59pm UTC](https://discuss.elastic.co/t/stability-of-latest-elasticsearch/25998/8 "2017-07-05T23:59:56Z")

</div>


