kevy4.0

BGREWRITEAOF

Start an append-only-file rewrite in the background.

BGREWRITEAOF
Group
Server
Since
1.0.0
Arity
exactly 1
Flags
write admin

Complexity

O(S) fan-out; each shard freezes a copy-on-write view and hands serialise plus fsync to its own worker

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

Redis compatibility

Differs

replies +OK rather than Redis's status line, rewrites one AOF per shard, and replies +OK even when AOF is disabled

See also

BGSAVECLIENTCLUSTERCOMMANDCONFIGDBSIZEDEBUGFLUSHALLFLUSHDBINFOMEMORYSAVESHUTDOWNSLOWLOG

← All commands