Skip to content

Commit

Permalink
Fix leader election recipe doc (#2048)
Browse files Browse the repository at this point in the history
  • Loading branch information
knguyen100000010 authored Aug 23, 2023
1 parent 15f29b5 commit 31b0b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zookeeper-docs/src/main/resources/markdown/recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 31b0b87

Please sign in to comment.