You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by cn...@apache.org on 2025/03/12 21:21:38 UTC
(zookeeper) branch master updated: ZOOKEEPER-4902: Document that read-only mode also enables isro 4lw
This is an automated email from the ASF dual-hosted git repository.
cnauroth pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 2d2820e98 ZOOKEEPER-4902: Document that read-only mode also enables isro 4lw
2d2820e98 is described below
commit 2d2820e989d77300279de0f661ebf80702a7149d
Author: Chris Nauroth <cn...@apache.org>
AuthorDate: Wed Mar 12 21:20:15 2025 +0000
ZOOKEEPER-4902: Document that read-only mode also enables isro 4lw
Closes #2231
Signed-off-by: Zili Chen <ti...@apache.org>
Signed-off-by: Kezhu Wang <ke...@apache.org>
---
zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md b/zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md
index 5f42bea59..70ce27b72 100644
--- a/zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md
+++ b/zookeeper-docs/src/main/resources/markdown/zookeeperAdmin.md
@@ -1425,7 +1425,9 @@ of servers -- that is, when deploying clusters of servers.
command must be put in this list else ZooKeeper server will
not enable the command.
By default the whitelist only contains "srvr" command
- which zkServer.sh uses. The rest of four-letter word commands are disabled
+ which zkServer.sh uses. Additionally, if Read Only Mode is enabled by setting
+ Java system property **readonlymode.enabled**, then the "isro" command is
+ added to the whitelist. The rest of four-letter word commands are disabled
by default: attempting to use them will gain a response
".... is not executed because it is not in the whitelist."
Here's an example of the configuration that enables stat, ruok, conf, and isro