Devise a scheme for integrating two replicas of a file system directory that underwent separate
updates during disconnected operation. Use either Bayou’s operational transformation approach,
or supply a solution for Coda.
What will be an ideal response?
The updates possible on a directory are (a) changing protection settings on existing entries or the directory
itself, (b) adding entries and (c) deleting entries.
Many updates may be automatically reconciled, e.g. if two entries with different names were added in
different partitions then both are added; if an entry was removed in one partition and not updated in the other
then the removal is confirmed; if an entry’s permissions were updated in one partition and it was not updated
(including deletion) in the other, then the permissions-update is confirmed.
Otherwise, two updates, in partitions A and B, respectively, may conflict in such a way that automatic
reconciliation is not possible. e.g. an entry was removed in A and the same entry in B had its permissions
changed; entries were created with the same name (but referring to a different file) in A and B; an entry was
added in A but in B the directory’s write permissions were removed.
We leave the details to the reader.
You might also like to view...
________ are small squares and circles that display around the perimeter of an object and are used to resize the object
Fill in the blank(s) with correct word
TCP half-open connections occur when the handshake process does not end successfully with a final ACK.
Answer the following statement true (T) or false (F)