问题描述
使用elasticsearch-head-master查看到集群健康值为**red(14 of 30)
**。其中一个index的shard 2 恢复失败,失败原因描述如下。
failed shard on node [IEiX75zpThqncQK8SNAvcQ]: failed recovery, failure RecoveryFailedException[[tqmp][2]: Recovery failed on {node-1}{IEiX75zpThqncQK8SNAvcQ}{v1SutLQ0QLa-nA0BFhtucQ}{127.0.0.1}{127.0.0.1:9300}{ml.machine_memory=17179283456, xpack.installed=true, ml.max_open_jobs=20, ml.enabled=true}]; nested: IndexShardRecoveryException[failed to recover from gateway]; nested: EngineCreationFailureException[failed to create engine]; nested: TranslogCorruptedException[translog from source [D:\elasticsearch-6.8.5\data\nodes\0\indices\oNCtZsHNR4e_peCcHi-cuQ\2\translog\translog-69.ckp] is corrupted, checkpoint file translog-69.ckp already exists but has corrupted content: expected Checkpoint{offset=155, numOps=1, generation=69, minSeqNo=136, maxSeqNo=136, globalCheckpoint=135, minTranslogGeneration=69,