YugabyteDB recovery

An unavailable YugabyteDB tablet needs quorum, replica, WAL, and catalog evidence preserved before any forceful recovery.

YugabyteDB partitions tables into Raft-replicated tablets. A tablet becomes unavailable when a healthy leader and majority cannot be established, or when its remaining replicas cannot open their RocksDB and write-ahead-log state.

Understand the symptom

A replica that starts is not automatically the replica with the newest committed Raft history.

WHY

What is happening

Tablet peers track terms, committed indexes, and membership through Raft consensus. Remote bootstrap normally copies a leader's data to a recovering peer, but it requires a valid leader and source. When quorum is lost, the surviving replicas and WALs must be compared before selecting a recovery source, because an older peer may omit committed writes.

What you may see

Symptoms that change the recovery path.

01

Tablet has no leader

A majority cannot agree on a current leader or membership.

02

Tablet peer fails to open

RocksDB, consensus metadata, or WAL files may be corrupt or incomplete.

03

Remote bootstrap loops

The source peer, network, or target data directory cannot complete the copy.

04

One table range times out

Only the tablet serving that partition may be unavailable.

Protect the source

Actions that can make the situation worse.

01

Forcing an older peer can lose committed writes

Its last applied operation may trail the surviving majority history.

02

Deleting WALs removes consensus evidence

Logs help determine terms, indexes, and recoverable operations.

03

Changing tablet metadata can orphan replicas

Master and tserver views may no longer match physical data.

Do this now

Safe steps before evaluation.

01

Freeze topology changes

Pause node replacement, tablet deletion, load balancing, and forced membership edits.

02

Acquire all surviving peers

Copy tablet, WAL, consensus, and master directories from every relevant node.

03

Capture consensus state

Save tablet listings, peer roles, terms, op IDs, health checks, and logs.

04

Secure logical recovery sources

Preserve snapshots, backups, CDC state, and application transaction evidence.

NEPFOSYS process

How a data-first evaluation proceeds.

01

Tablet-generation comparison

NEPFOSYS compares replica terms, op IDs, WAL coverage, and RocksDB readability.

02

Protected peer reconstruction

The strongest candidate is cloned and evaluated without altering the originals.

03

Range and transaction validation

Recovered tablets are checked for row ranges, indexes, and application consistency.

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.

Can I delete a failed tablet replica and let it bootstrap?

Only when a healthy leader with complete data exists and the originals have been preserved.

What if every peer reports no leader?

Preserve every replica and compare consensus state before forceful recovery.

Are database backups enough?

They may be the safest restore path, but retention, timestamps, and dependent services must be verified.

DFW local · Nationwide mail-in

Protect the device. Start with the facts.

Start my recovery case