From c3548bc5d433aa9765c4b2d989f79714edad871f Mon Sep 17 00:00:00 2001 From: "zhaozhao.zz" Date: Tue, 14 Jan 2025 19:23:54 +0800 Subject: [PATCH 1/3] 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/3] 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: From 1e7da790fe9f99e09a6ead0b064eee78229e315f Mon Sep 17 00:00:00 2001 From: Binbin Date: Fri, 7 Feb 2025 10:22:41 +0800 Subject: [PATCH 3/3] Update commands/info.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Viktor Söderqvist Signed-off-by: Binbin --- commands/info.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/info.md b/commands/info.md index 0e1a6127..1bf2175d 100644 --- a/commands/info.md +++ b/commands/info.md @@ -314,9 +314,9 @@ 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. 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. * `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: