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...
On a line chart, the range of numbers for the data points are displayed on the
A) bevel axis. B) category axis. C) y-axis. D) x-axis.
The best theme for accessibility for people with vision impairments or color blindness is the new colorful theme
Indicate whether the statement is true or false