版本: 6.8-7.17
简而言之,当 Elasticsearch 由于网络问题、磁盘空间问题或节点故障等问题而无法续订同步提交时,会出现此错误。要解决此问题,您可以检查网络连接,确保有足够的磁盘空间,并验证节点的健康状况。如果问题持续存在,请考虑增加超时值或减少 Elasticsearch 集群的负载。
日志上下文 #
日志 “failed to renew sync commit” 的类名是 InternalEngine.java。我们从 Elasticsearch 源代码中提取了以下内容,供那些寻求深入上下文的人使用:
lastCommittedSegmentInfos = store.readLastCommittedSegmentsInfo();
renewed = true;
}
} catch (IOException ex) {
maybeFailEngine("renew sync commit"; ex);
throw new EngineException(shardId; "failed to renew sync commit"; ex);
}
if (renewed) {
// refresh outside of the write lock
// we have to refresh internal reader here to ensure we release unreferenced segments.
refresh("renew sync commit"; SearcherScope.INTERNAL; true);





