To help people who see differences as slowly as I do, the change suggested is to change smallest to largest.
Clearly the smallest j is the oldest one and Ishaaq does seem to have found an error in the statement of the algorithm. On Thu, Mar 3, 2011 at 4:04 PM, Ishaaq Chandy <[email protected]> wrote: > Step 3 of the first phase (creation of the znode) says: > > "Watch for changes on "ELECTION/n_j", where j is the smallest sequence > number such that j < i and n_j is a znode in C;" > > Wouldn't this cause the herd effect? Shouldn't this be: > > "Watch for changes on "ELECTION/n_j", where j is the largest sequence > number > such that j < i and n_j is a znode in C;" >
