📣 极限科技诚招搜索运维工程师(Elasticsearch/Easysearch)- 全职/北京 👉 : 立即申请加入

版本: 7.2-7.15

简而言之,当Elasticsearch检测到具有与集群当前版本兼容的版本的节点时,会出现此错误。这可能是由于升级后节点重新加入集群或降级失败导致的。要解决此问题,请确保集群中的所有节点都运行相同版本的Elasticsearch。如果您正在进行升级,请遵循正确的滚动升级流程。如果节点被意外降级,请将其升级以匹配集群版本。在进行版本更改之前,务必备份您的数据。

日志上下文 #

日志"found [" + nodeMetadata + “] which is compatible with current version [“类名是 OverrideNodeVersionCommand.java。 我们从Elasticsearch源代码中提取了以下内容,供那些寻求深入上下文的人使用:

throw new ElasticsearchException(NO_METADATA_MESSAGE);
 }  try {
 nodeMetadata.upgradeToCurrentVersion();
 throw new ElasticsearchException("found [" + nodeMetadata + "] which is compatible with current version [" + Version.CURRENT
 + "]; so there is no need to override the version checks");
 } catch (IllegalStateException e) {
 // ok; means the version change is not supported
 }