CLIENT UNPAUSE

Since 1.1.0Server

Syntax

CLIENT UNPAUSE

Ends a CLIENT PAUSE at once, whether it held every command or just writes, and releases the commands it held: each runs, in the order it arrived, and gets its reply. Without a pause in force it does nothing.

A pause is usually given to let a replica catch up before a failover; CLIENT UNPAUSE ends it early when the failover is done, or abandoned, before its timeout. CLIENT UNPAUSE is never held by a pause itself.

Reply

OK.

Examples

client 1> CLIENT PAUSE 60000 WRITE
OK
client 2> SET k v          (waits)
client 1> CLIENT UNPAUSE
OK
client 2> OK