FLUSHALL
Delete every key on every shard.
FLUSHALL
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