BGREWRITEAOFStart an append-only-file rewrite in the background.
| 语法 | BGREWRITEAOF |
| 分组 | server |
| 参数个数 | 1 |
| 起始版本 | 1.0.0 |
| 标志 | write, admin |
| 复杂度 | O(S) fan-out; each shard freezes a copy-on-write view and hands serialise plus fsync to its own worker |
| Redis 兼容性 | differs: replies +OK rather than Redis's status line, rewrites one AOF per shard, and replies +OK even when AOF is disabled |