Suppose that the coordinator of a transaction crashes after it has recorded the intentions list entry
but before it has recorded the participant list or sent out the canCommit? requests. Describe how
the participants resolve the situation. What will the coordinator do when it recovers? Would it be
any better to record the participant list before the intentions list entry?
What will be an ideal response?
As the coordinator is the only server to receive the closeTransaction request from the client, the workers will
not know the transaction has ended, but they can time out and unilaterally decide to abort the transaction (see
pages 521-3). They are allowed to do this because they have not yet voted. When the coordinator recovers it
also aborts the transaction.
An apparent advantage of recording a worker list earlier (before the coordinator fails), is that it could be used
to notify the workers when a coordinator recovers, with a view to avoiding the need for timeouts in workers.
Unfortunately workers cannot avoid the need for timeouts because the coordinator may not recover for a very
long time.
You might also like to view...
You can click the ____ button in the Photo Album dialog box to rotate a picture to the left in increments.
A. Rotate Left 10° B. Rotate Left 45° C. Rotate Left 90° D. Rotate Left 180°
To wrap a line in a text area jta on words, invoke ____________.
a. jta.setWrapStyleWord(false) b. jta.setWrapStyleWord(true) c. jta.wrapStyleWord() d. jta.wrapWord()
The taskbar is located at the top of the Windows 8 screen
Indicate whether the statement is true or false
There are hundreds of filters available in Wireshark. A large network could have numerous filters and many different types of traffic. List three filters that might be useful to a network administrator.
What will be an ideal response?