# Cluster unstable after upgrade to ES 7.4.2

**URL:** <https://discuss.elastic.co/t/cluster-unstable-after-upgrade-to-es-7-4-2/208731>\
**Category:** Elasticsearch\
**Created:** [November 20, 2019, 3:30pm UTC](https://discuss.elastic.co/t/cluster-unstable-after-upgrade-to-es-7-4-2/208731 "2019-11-20T15:30:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![octave](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/octave/32/56529_2.png) [@octave](https://discuss.elastic.co/u/octave)\
**Post date:** [November 20, 2019, 3:30pm UTC](https://discuss.elastic.co/t/cluster-unstable-after-upgrade-to-es-7-4-2/208731/1 "2019-11-20T15:30:45Z")

</div>

Hello,  
We recently upgraded our cluster from 6.8 to 7.4.2 and are now facing a major stability issue: the cluster randomly loses its master then is unable to re-elect a new one.  
Our current configuration is:

- 6 nodes on distinct hosts, all master-eligible
- java heap size 8GB
- about 200 open indices and 300 closed ones
- relevant elasticsearch.yml settings (identical on all nodes apart from data.path and network.host):  
bootstrap.memory\_lock: true  
network.host: x.x.x.x  
http.port: 9200  
discovery.seed\_hosts:  
- es01  
- es02  
- es03  
cluster.initial\_master\_nodes:  
- es01  
- es02  
- es03  
xpack.security.enabled: false  
node.ml: false  
xpack.ml.enabled: false  
cluster.publish.timeout: 90s  
xpack.monitoring.enabled: false

Here are the logs (taken for the same period) from 2 different nodes - I can upload logs from the other machines if needed:  
[es03](https://p.6core.net/p/rH4EObodE0wyXmBg6bGdTY1o)  
[es04](https://p.6core.net/p/PTxDSoNyP32eOvOwV0xQMRYp)  
Occasionally the cluster forms again but loses its master shortly afterwards.  
We have tried many combinations of settings, which did not seem to make any difference.

Any help will be greatly appreciated  
Thanks

---

<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:** [December 18, 2019, 3:30pm UTC](https://discuss.elastic.co/t/cluster-unstable-after-upgrade-to-es-7-4-2/208731/2 "2019-12-18T15:30:53Z")

</div>

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