[chord] stabilization in simulator

Verdi March verdimar at comp.nus.edu.sg
Mon May 17 16:51:04 EDT 2004


Hi,
I need some clarification regarding the stabilization routine in Chord
simulator.

A node n invokes stabilization to refresh one of its finger; the
finger_id is recorded in r->x. At each intermediate node n, function
processRequest will make sure that r will be forwarded until
n->id < r->x <= getSuccessor(n).

When this state is achieved, r->done = TRUE. According to my
interpretation, this r should be returned to r->initiator so that
r->initiator can update the finger table. However, in the code,
if (n->id != r->initiator) then processRequest will forward r to
r->succ. Isn't r->succ is the correct/refreshed finger that should
be made known to r->initiator?


Regards,
Verdi



More information about the chord mailing list