kevy4.0

WAIT

Block until every shard's master_repl_offset is acknowledged by at least numreplicas replicas (or timeout ms pass); returns the minimum acked-replica count across shards. timeout 0 = wait forever, hard-capped at 60 s. NOTE: a replica ACK is not fsync durability.

WAIT numreplicas timeout
Group
Replication
Since
1.0.0
Arity
exactly 3
Flags
readonly blocking

Complexity

O(S) — an all-shard barrier returning the MINIMUM acked-replica count; the wall-clock cost is the replication round trip

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Differs

it is an all-shard barrier returning the minimum across shards (Redis has one offset to wait on); timeout 0 is capped at 60s rather than blocking forever, and an ACK means the frame reached the replica's apply pipeline, not fsync durability

See also

FAILOVERREPL.TOKENREPL.WAITREPLICAOFROLESLAVEOF

← All commands