Diagnostic step 1
Do not run further automated reallocation that could overwrite remaining copies. Identify which node currently contains the most up-to-date copy of each affected shard using 'CAT SHARDS' and node logs.
Generated Oct 3, 2026, 12:35:03 AM
Do not run further automated reallocation that could overwrite remaining copies. Identify which node currently contains the most up-to-date copy of each affected shard using 'CAT SHARDS' and node logs.
If an uncorrupted replica exists on another node, allocate that replica as primary using the reroute API (promote replica) to recover without loss.
If no healthy copy exists, plan to restore the affected indices from the most recent snapshot. Verify snapshot integrity first with a restore-to-different-cluster or 'snapshot' verification where possible.
If node disks show SMART reallocated sectors or IO errors, take the node offline, image the disks for forensics, and replace failing drives—escalate to storage/hardware vendor support if hardware failure is suspected.
If unsure whether corruption is limited to a subset of segment files, consider contacting Elastic support or a specialist for shard-level recovery; avoid running destructive commands that overwrite shards without a verified snapshot backup.