简体   繁体   English

升级Elasticsearch到最新版本

[英]Upgrade Elasticsearch to the latest version

I want to upgrade my ES cluster(current version: 7.6.2) to the latest version (7.15.2 until now) Is it ok to upgrade directly to the latest version or should I upgrade with 2 or 3 steps on different version?我想将我的 ES 集群(当前版本:7.6.2)升级到最新版本(7.15.2 到现在)可以直接升级到最新版本还是应该在不同版本上升级 2 或 3 步? For instance, for upgrading mongo db, it should be upgraded step by step to the next version... I just want to know what is the policy or even best practice for upgrading ES???比如升级mongo db,应该逐步升级到下一个版本……我只想知道升级ES的策略甚至最佳实践是什么???

Thanks谢谢

It's totally fine to update between minor versions (7.x -> 7.y) as well as one major version up from latest minor version (6.8 -> 7.y), see upgrading document for the details.在次要版本(7.x -> 7.y)之间以及从最新次要版本(6.8 -> 7.y)升级的一个主要版本之间进行更新是完全可以的,详情请参阅升级文档 Best of all, it can be a rolling upgrade so you can upgrade nodes in the cluster one by one without cluster downtime or data loss.最重要的是,它可以是滚动升级,因此您可以逐个升级集群中的节点,而不会导致集群停机或数据丢失。 Just make sure cluster health is green before moving on to the next node.只需确保集群运行状况为绿色,然后再继续下一个节点。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM