Documente Academic
Documente Profesional
Documente Cultură
with their previous Global Commit/Abort and have not received the next Vote Request.
This would cause the nodes to send an Abort to the coordinator who in turn multicasts a
Global Abort. This test case is used to show that this type of situation would usually
indicate that either the coordinator was taking too long to recover or execute its
operation from the previous Vote or it has completely crashed and an Election Algorithm
would come into play to choose a new coordinator from a pool of nodes.
Test Case 5: In this case I would begin a timer again when the nodes connect to the
coordinator. I would send a Vote Request and receive Commit messages from the node.
I would then trick the coordinator based on different modes to only send the Global
Commit to one participant. This will then prompt the other participant after a certain time
to ask the other participants if they received a Decision. If they did, they would pass
along the message, if not the participant would abort. This case is used to show that
sometimes the coordinator runs slow and sends Global Commit/Abort messages too
slowly, so the participants realize it has been a long time since they sent their Vote so
they ask their fellow participants if the coordinator has gotten back to them. This
ensures that they make sure the coordinator hasnt crashed and also allows the system
as a whole to function correctly even when some errors or latency occurs.