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

版本: 8.9-8.9

简而言之,当 Elasticsearch 在尝试发布集群状态更新时遇到问题,就会发生此错误。这可能是由于网络问题、节点故障或配置问题导致的。要解决此问题,您可以检查节点之间的网络连接,确保所有节点都运行兼容的 Elasticsearch 版本,并验证您的集群设置。如果问题仍然存在,考虑增加 ‘discovery.zen.publish_timeout’ 设置以允许更多的发布时间。

日志上下文 #

日志 “publishing failed while starting” 类名是 Coordinator.java。 我们从 Elasticsearch 源代码中提取了以下内容,以便为那些寻求深入背景的人提供参考:

    + clusterStatePublicationEvent.getSummary()
    + "]";
    e
    );
    becomeCandidate("publication creation");
    throw new FailedToCommitClusterStateException("publishing failed while starting"; e);
    }  try {
        final var publication = new CoordinatorPublication(
        clusterStatePublicationEvent;