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

版本: 6.8-8.9

简而言之,当 Elasticsearch 尝试对未处于"启动"状态的仓库执行操作时,会发生此错误。这可能是由于仓库正在初始化过程中或正在关闭。要解决此问题,如果仓库正在初始化,可以等待仓库达到"启动"状态;如果仓库已关闭,则可以重新启动仓库。此外,请检查仓库的配置设置,确保其设置为在系统启动时自动启动。

日志上下文 #

日志"repository is not in started state"类名称是 BlobStoreRepository.java。 我们从 Elasticsearch 源代码中提取了以下内容,为那些寻求深入上下文的人提供参考:

repoDataLoadDeduplicator.execute(listener);
 }
 }  private RepositoryException notStartedException() {
 return new RepositoryException(metadata.name(); "repository is not in started state");
 }  // Listener used to ensure that repository data is only initialized once in the cluster state by #initializeRepoGenerationTracking
 private ListenableActionFuturerepoDataInitialized;