From 8f99fc0378d5012bfe9059af946bf9356c07f5ac Mon Sep 17 00:00:00 2001 From: yinon-bit Date: Tue, 15 Sep 2026 10:56:12 +0300 Subject: [PATCH] Document aof_cmd_duration in INFO persistence Co-authored-by: Cursor --- content/commands/info.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/content/commands/info.md b/content/commands/info.md index 0798aace22..281810df71 100644 --- a/content/commands/info.md +++ b/content/commands/info.md @@ -295,6 +295,12 @@ If AOF is activated, these additional fields will be added: * `aof_pending_bio_fsync`: Number of fsync pending jobs in background I/O queue * `aof_delayed_fsync`: Delayed fsync counter +* `aof_cmd_duration`: Best-effort estimate, in microseconds, of AOF replay + time for commands written since the last rewrite, load, or AOF reset. + For commands propagated without a known duration (for example via + `RM_Replicate` or `RM_ReplicateVerbatim`), this is approximated using + leftover time from the triggering top-level command, or, for a blocked + client, its measured background execution time. If a load operation is on-going, these additional fields will be added: