programthecloud/ptcrepo — pull request #2 by seshness (2011-12-13 11:21:17+00:00)
Title: Leader election

To complete the project we added a `MembershipProtocol` that's slightly different from the old bud_sandbox module. We also fixed a couple of bugs in `multicast/multicast.rb` and `counter/sequences.rb`.
The `LeaderMembership` module is designed to be able to "discover" other `LeaderMembership` instances, as long as the graph of nodes that know about other nodes has a single connected component (sorry, CS 170 final tomorrow).

Our test case is currently quite simple: Given three independently running modules, ensure that all three come to a consensus on the leader.

/cc @kristinechen @palvaro @jhellerstein