版本: 6.8-7.15
简而言之,当集群中不同节点之间的 Elasticsearch 版本不匹配时,会发生此错误。这可能是由于升级过程不完整或部分升级造成的。要解决此问题,请确保集群中的所有节点都运行相同版本的 Elasticsearch。您可以通过检查每个节点的版本,然后根据需要进行升级或降级来实现此目的。此外,确保许可证插件已更新到与您的 Elasticsearch 版本兼容的最新版本。
日志上下文 #
日志 “Unknown license version found; please upgrade all nodes to the latest” 的类名是 License.java. 我们从 Elasticsearch 源代码中提取了以下内容,供那些寻求深入理解的人参考:
version *= -1;
}
if (version == 0) {
throw new ElasticsearchException("malformed signature for license [" + builder.uid + "]");
} else if (version > VERSION_CURRENT) {
throw new ElasticsearchException("Unknown license version found; please upgrade all nodes to the latest " +
"elasticsearch-license plugin");
}
// signature version is the source of truth
builder.version(version);
}





