Skip to content

Commit 96ad45a

Browse files
authored
完善get命令用例信息
get命令要加-s配置才能看到节点状态,在get命令的用例里加上"[zk: zookeeper(CONNECTED) 12] get -s /node1",阅读起来更易理解
1 parent 4f4826d commit 96ad45a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/distributed-system/distributed-process-coordination/zookeeper/zookeeper-in-action.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ Created /node1/node1.1
7070
`get` 命令可以获取指定节点的数据内容和节点的状态,可以看出我们通过 `set` 命令已经将节点数据内容改为 "set node1"。
7171

7272
```shell
73+
[zk: zookeeper(CONNECTED) 12] get -s /node1
7374
set node1
7475
cZxid = 0x47
7576
ctime = Sun Jan 20 10:22:59 CST 2019

0 commit comments

Comments
 (0)