kevy4.0

FLUSHALL

Delete every key on every shard.

FLUSHALL
Group
Server
Since
1.0.0
Arity
at least 1
Flags
write

Complexity

O(S) fan-out; per shard O(N/S) clear plus WATCH invalidation plus a feed-generation bump

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

Redis compatibility

Differs

ASYNC / SYNC are accepted and ignored (the flush is always synchronous per shard), and it bumps the CDC feed generation, so live FEED cursors get a resync error

See also

BGREWRITEAOFBGSAVECLIENTCLUSTERCOMMANDCONFIGDBSIZEDEBUGFLUSHDBINFOMEMORYSAVESHUTDOWNSLOWLOG

← All commands