浏览代码

Fix leader election recipe doc (#2048)

knguyen100000010 1 年之前
父节点
当前提交
31b0b87203
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      zookeeper-docs/src/main/resources/markdown/recipes.md

+ 1 - 1
zookeeper-docs/src/main/resources/markdown/recipes.md

@@ -391,7 +391,7 @@ be a leader:
 
 
 1. Create znode z with path "ELECTION/guid-n_" with both SEQUENCE and
 1. Create znode z with path "ELECTION/guid-n_" with both SEQUENCE and
   EPHEMERAL flags;
   EPHEMERAL flags;
-1. Let C be the children of "ELECTION", and I am the sequence
+1. Let C be the children of "ELECTION", and i is the sequence
   number of z;
   number of z;
 1. Watch for changes on "ELECTION/guid-n_j", where j is the largest
 1. Watch for changes on "ELECTION/guid-n_j", where j is the largest
   sequence number such that j < i and n_j is a znode in C;
   sequence number such that j < i and n_j is a znode in C;