Explain why, in step (b), all primaries must be updated in a single transaction and, in step (c), the update is propagated to site A.
The following variant of the primary copy asynchronous-update replication protocol has been proposed for totally replicated systems.
a. A transaction executing at site A updates only the replicas at A before it commits
(it needed to access no other site since replication is total).
b. After the transaction commits, a second transaction is initiated to update the primary copies of all items updated at A.
c. After the transaction in step (b) has completed, each primary site propagates the update made at that site to all secondaries (including the one at site A). Updates made to a primary copy by several transactions are propagated to secondaries in the order in which the primary was updated.
What will be an ideal response?
The goal of the protocol is mutual consistency of all replicas. All primaries must be updated in a single transaction to make sure that updates to all primaries made by concurrent transactions occur in the same order. The update must be propagated back
to A to make sure that secondary copies at A are updated in the same order as the primaries. For example, suppose sites A and B both have secondary replicas of x and transactions T1 and T2 executing at A and B respectively update x concurrently. If in step (c) the primary site did not send updates to all sites, then when the protocol completed the value of x at A would be the value written by T2 and at B the value written by T1.
You might also like to view...
What command can be used to find files containing words that start with the characters Work?
A. FINDSTR /R "work." B. FIND /R "work." C. FINDSTR /R "\ D. FIND /R "Work.*" *.*
Which of the following activities could lead to significant overhead in a page-replacement strategy?
a) asynchronously flushing modified pages to disk b) marking pages as dirty or modified c) predicting future page use to determine which pages to replace d) all of the above
To assign specific tasks to a task calendar in Project 2013, use the Task ________ dialog box
A) Calendar B) Configuration C) Information D) Manager
Display the ________ dialog box to add list items to a Drop-Down List content control
A) Drop-Down Properties B) Content Properties C) Content Control Properties D) Drop-Down