recovery_engine_exception: recovery_engine_exception
Elasticsearch含义
在分片恢复期间发生了引擎级错误,分片无法成功打开。恢复是在节点重启、副本分配或快照还原期间执行的步骤。
原因
恢复期间的底层问题:Lucene 段或 translog 损坏、磁盘空间不足、文件权限、源节点与目标节点之间的网络中断,或版本/兼容性问题。它通常包裹着一个更具体的子错误(损坏、I/O)。
解决方法
检查底层(caused_by)错误以确定真正的问题(损坏、磁盘、网络等)。确认磁盘空间和文件权限。如果副本分配失败,用 _cluster/allocation/explain 查看原因,必要时触发重新分配。如果存在损坏,从完好的副本/快照恢复。如果与网络有关,检查节点间连通性和恢复设置。
同一数据库的其他条目
- verification_exceptionverification_exception: Found N problem(s) — Unknown column / Unknown index (ES|QL, SQL, EQL)(验证异常:发现 N 个问题 —— 未知列/未知索引)
- bind_transport_exceptionbind_transport_exception (Address already in use)(地址已被占用)
- translog_corrupted_exceptiontranslog_corrupted_exception
- snapshot_in_progress_exceptionsnapshot_in_progress_exception
- repository_verification_exceptionrepository_verification_exception
- reduce_search_phase_exceptionreduce_search_phase_exception
- aggregation_execution_exceptionaggregation_execution_exception