You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This diagram shows a member (N) using a locator (L) discovering the Coordinator (C) and joining N N L L C C FindCoordinator(myId) via tcp/ip FindCoordinatorResponse(c) JoinRequest this and subsequent communications via UDP PrepareView(c,l,n) ViewCreator thread processes request ack PrepareView(c,l,n) ack InstallView(c,l,n) ack continue startup aftersending ack InstallView(c,l,n) ack This shows a member (M) leaving and another member (P) joining in the same view M M C C P P LeaveRequest LeaveResponse LeaveRequest is queued done JoinRequest JoinRequest is queued.View Creator wakes up andcreates view {C,P} removing M Prepare {C,P} ack Install {C,P} ack P processes view and completes Join This diagram shows two Locators starting up at the same time with no other members present. L1 L1 L2 L2 FindCoordinator via tcp/ip FindCoordinatorResponse(registrants={L2,L1}) both members get {L1,L2} registrants and chooseL1 as coordinator due to ID sort order FindCoordinator FindCoordinatorResponse(registrants={L1,L2}) subsequent messaging is via UDP JoinRequest becomeCoordinator L1 ViewCreator thread processes request PrepareView(L1,L2) ack InstallView(L1,L2) ack L1 and L2 continue startup

  • No labels