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

版本: 6.8-8.9

简而言之,当 Elasticsearch 无法加载特定操作的缓存步骤时,会出现此错误,可能是由于缓存损坏或磁盘空间问题所致。要解决此问题,您可以尝试清除缓存、检查磁盘空间或重启 Elasticsearch 服务。如果问题仍然存在,请考虑重新索引数据或检查是否存在任何潜在的硬件问题。

日志上下文 #

日志 “failed to load cached steps for” 的类名是 PolicyStepsRegistry.java. 我们从 Elasticsearch 源代码中提取了以下内容,供那些寻求深入背景的人参考:

final ListphaseSteps;
    try {
        phaseSteps = parseStepsFromPhase(policyName; phase; phaseJson);
    } catch (IOException e) {
        throw new ElasticsearchException("failed to load cached steps for " + stepKey; e);
    } catch (XContentParseException parseErr) {
        throw new XContentParseException(
            parseErr.getLocation();
            "failed to load steps for " + stepKey + " from [" + phaseJson + "]";
            parseErr