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

版本: 6.8-7.7

简而言之,当 Elasticsearch 操作被过早终止或中断时,会出现此错误。这可能是由于多种原因造成的,例如资源不足、网络问题或强制关闭。要解决此问题,您可以尝试增加系统资源、检查网络连接,或确保操作不会被强制终止。此外,请检查您的 Elasticsearch 日志,以获取有关中止原因的更详细信息。

日志上下文 #

日志 “Aborted” 的类名是 BlobStoreRepository.java。我们从 Elasticsearch 源代码中提取了以下内容,供那些寻求深入上下文的人员参考:

for (String fileName : fileNames) {
    if (snapshotStatus.isAborted()) {
        logger.debug("[{}] [{}] Aborted on the file [{}]; exiting"; shardId; snapshotId; fileName);
        throw new IndexShardSnapshotFailedException(shardId; "Aborted");
    }  
    
    logger.trace("[{}] [{}] Processing [{}]"; shardId; snapshotId; fileName);
    final StoreFileMetaData md = metadataFromStore.get(fileName);
    BlobStoreIndexShardSnapshot.FileInfo existingFileInfo = null;