This is an automated email from the ASF dual-hosted git repository.
tison 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 31b0b8720 Fix leader election recipe doc (#2048)
31b0b8720 is described below
commit 31b0b87203eafb1d24cf428e6df7b3d1791e763b
Author: knguyen100000010 <[email protected]>
AuthorDate: Wed Aug 23 09:21:47 2023 -0400
Fix leader election recipe doc (#2048)
---
zookeeper-docs/src/main/resources/markdown/recipes.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zookeeper-docs/src/main/resources/markdown/recipes.md
b/zookeeper-docs/src/main/resources/markdown/recipes.md
index 2fd6c9578..9d3dec55c 100644
--- a/zookeeper-docs/src/main/resources/markdown/recipes.md
+++ b/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;