Redis Persistence, Replication, and Cluster Cheat Sheet/Wait for replicas to acknowledge writes

Block until writes reach a minimum number of replicas or timeout.

Section: Persistence

Wait for replicas to acknowledge writes

bash
bash
WAIT 1 5000

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Persistence
Wait for local AOF fsync
Wait for AOF persistence conditions when supported.
OpenIn sheetbashsame section
Read time of last successful save
Return the Unix timestamp of last successful save.
OpenIn sheetbashsame section
Rewrite AOF in background
Compact the append-only file in the background.
OpenIn sheetbashsame section
Make server replicate from a primary
Turn the current node into a replica of a primary.
OpenIn sheetbash2 tag match
Promote a replica
Stop replicating and promote current node to primary.
OpenIn sheetbash2 tag match
Inspect node role
Return whether this node is primary, replica, or sentinel and related metadata.
OpenIn sheetbash2 tag match