版本: 6.8-7.15
简而言之,当对Elasticsearch的请求超过设定的超时时间时,会发生此错误。这可能是由于负载过重、资源不足或网络问题造成的。要解决这个问题,可以增加超时限制,优化查询以提高性能,或者扩展Elasticsearch集群以处理更多负载。此外,检查网络是否存在可能导致延迟的问题。
日志上下文 #
日志 “Timed out after [” 的类名是 TransportStopRollupAction.java。我们从Elasticsearch源代码中提取了以下内容,供那些寻求深入了解上下文的人参考:
if (stopped) {
// We have successfully confirmed a stop; send back the response
listener.onResponse(response);
} else {
listener.onFailure(new ElasticsearchTimeoutException("Timed out after [" + request.timeout().getStringRep()
+ "] while waiting for rollup job [" + request.getId() + "] to stop. State was ["
+ ((RollupJobStatus) jobTask.getStatus()).getIndexerState() + "]"));
}
} catch (InterruptedException e) {
listener.onFailure(e);





