From c3548bc5d433aa9765c4b2d989f79714edad871f Mon Sep 17 00:00:00 2001 From: "zhaozhao.zz" Date: Tue, 14 Jan 2025 19:23:54 +0800 Subject: [PATCH 1/2] explain paused actions for info clients Signed-off-by: zhaozhao.zz --- commands/info.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/commands/info.md b/commands/info.md index 4c87ae73..04ec981f 100644 --- a/commands/info.md +++ b/commands/info.md @@ -314,6 +314,10 @@ 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_actions`: The current paused actions of the instance: "all" means all clients will be paused, + "write" means clients executing write commands will be paused, + and "none" means no clients will be paused. +* `paused_timeout_milliseconds`: The remaining time of the paused actions. Here is the meaning of all fields in the **memory** section: From 22e74a5c3be2010ef7fd07439011dc1d2a29dddf Mon Sep 17 00:00:00 2001 From: "zhaozhao.zz" Date: Tue, 14 Jan 2025 19:27:00 +0800 Subject: [PATCH 2/2] add version Signed-off-by: zhaozhao.zz --- commands/info.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/info.md b/commands/info.md index 04ec981f..0e1a6127 100644 --- a/commands/info.md +++ b/commands/info.md @@ -316,8 +316,8 @@ Here is the meaning of all fields in the **clients** section: * `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_actions`: The current paused actions of the instance: "all" means all clients will be paused, "write" means clients executing write commands will be paused, - and "none" means no clients will be paused. -* `paused_timeout_milliseconds`: The remaining time of the paused actions. + and "none" means no clients will be paused. Added in Valkey 8.1. +* `paused_timeout_milliseconds`: The remaining time of the paused actions. Added in Valkey 8.1. Here is the meaning of all fields in the **memory** section: