Skip to content

Commit

Permalink
Add paused_reason field for INFO CLIENTS (#227)
Browse files Browse the repository at this point in the history
See valkey-io/valkey#1564.

Signed-off-by: Binbin <[email protected]>
  • Loading branch information
enjoy-binbin authored Feb 10, 2025
1 parent dfff87b commit b716fe7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions commands/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ clients_in_timeout_table:0
total_watched_keys:0
total_blocking_keys:0
total_blocking_keys_on_nokey:0
paused_reason:none
paused_actions:none
paused_timeout_milliseconds:0
# Memory
used_memory:4757704
Expand Down Expand Up @@ -317,6 +320,8 @@ Here is the meaning of all fields in the **clients** section:
* `total_watched_keys`: Number of watched keys. Added in Valkey 8.0.
* `total_blocking_keys`: Number of blocking keys.
* `total_blocking_keys_on_nokey`: Number of blocking keys that one or more clients that would like to be unblocked when the key is deleted.
* `paused_reason`: The current paused reason of the instance: "client_pause" means trigger by `CLIENT PAUSE`,
"shutdown_in_progress", "failover_in_progress" and "none" means no clients are paused. Added in Valkey 8.1.
* `paused_actions`: The current paused actions of the instance: "all" means all clients are paused,
"write" means clients executing write commands are paused,
and "none" means no clients are paused. Added in Valkey 8.1.
Expand Down

0 comments on commit b716fe7

Please sign in to comment.