OpenSearch recovery

A red OpenSearch cluster means at least one primary shard is unassigned and its index data is unavailable.

A primary shard can become unassigned after node loss, allocation filtering, disk pressure, damaged shard storage, incompatible versions, or incomplete cluster recovery. Other indexes may continue to work.

Understand the symptom

Forced empty-primary allocation restores routing by accepting data loss.

WHY

What is happening

OpenSearch documents that red health means an unassigned primary. Allocation explain and shard-store APIs can identify copies; allocating an empty primary can erase a valid copy that rejoins later. Remote-backed indexes and snapshots add alternate recovery paths.

What you may see

Symptoms that change the recovery path.

01

Cluster health is red

One or more primary shards are unassigned.

02

Only certain indexes fail

Their primary shards lack an active copy.

03

Allocation explain lists no valid copy

Nodes, filters, versions, disk limits, or store corruption block assignment.

04

A lost node still contains a shard path

Its local copy may be the best available generation.

Protect the source

Actions that can make the situation worse.

01

Allocate-empty-primary accepts total shard loss

A later returning valid copy can be erased.

02

Deleting the index removes metadata

Snapshots or shard stores become harder to associate.

03

Starting mixed versions can rewrite segments

Compatibility and cluster identity must be confirmed first.

Do this now

Safe steps before evaluation.

01

Stop index creation and cleanup

Pause writes, rollover, deletion, merge, and automation.

02

Capture allocation evidence

Save cluster health, state, allocation explain, shard stores, and node logs.

03

Preserve every node data path

Snapshot or image shard data, metadata, and translogs.

04

Protect repositories and remote store

Freeze snapshots, object versions, credentials, and retention.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Shard-copy inventory

NEPFOSYS maps primaries, replicas, local stores, remote objects, and snapshots.

02

Generation preservation

All candidate shard copies and cluster metadata are protected.

03

Index-level validation

Recovered shards are checked for documents, mappings, sequence numbers, and application expectations.

A clear next step

Preserve the original device before another repair or recovery attempt.

Start a case with the exact symptoms, incident timeline, prior attempts, encryption details, and the files that matter most. NEPFOSYS will route the case to the appropriate DFW intake or nationwide mail-in path.

Start with a case review

Questions, answered

What customers ask before starting.

What does red health mean in OpenSearch?

At least one primary shard is unassigned, so data for that shard is unavailable.

Is allocate_empty_primary safe?

It explicitly accepts data loss and can cause a valid returning copy to be erased.

Can a snapshot restore only missing shards?

Depending on configuration, snapshots or remote-backed storage may provide a recovery path, but preserve existing copies first.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case