Jelajahi Sumber

Fix leader election recipe doc (#2048)

knguyen100000010 1 tahun lalu
induk
melakukan
31b0b87203
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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
   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;
 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;