SLIDE 10 4/13/2008 10
Level 1: BART State Machine(cont.)
Message Queue
The message queue used by x contains entries for the
messages that x intends to send to y, interleaved with “bubbles”.
A bubble must be filled with an appropriate message
from y before x can proceed to send the messages in the queue.
Incentive for rational nodes to send messages expected
by protocol. Balanced Messages:
Whenever the node has the opportunity to choose the
message to send next, the intended message is never more expensive than the alternatives.
4/14/2008
Level 1: BART State Machine(cont.)
Penance
Each node maintains an untimely vector that tracks their
perception of other nodes timeliness.
A node is considered untimely if any timeout message
electing a new leader arrives significantly earlier or later than expected according to the receiver’s local clock.
When a node x becomes the sender, it includes its untimely
vector with the value it proposes.
After agreeing on the proposal, all nodes except the sender
expect a penance message from each node indicted in the untimely vector.
Because of the message queues, the untimely nodes must
send the penance message to all non-sender nodes.
4/14/2008