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...
You are passing a two dimensional array, defined as below, to a function. What would be a correct function prototype? (ROWS and COLS are global constants.)
int table [ROWS] [COLS]; a) float calculate (int matrix [ ] [ COLS], int rows); b) float calculate (int matrix [ROWS ] [ ], int rows); c) float calculate (matrix [ ROWS] [ COLS], int rows); d) float calculate (int matrix [ROWS ] [ ], int cols);
End-user profiles enable you to visualize an abstract target audience as real people.
Answer the following statement true (T) or false (F)
Which layer of the OSI model refers to the code built into operating systems that enables network-aware applications?
A. Application B. Transport C. Session D. Presentation
Design considerations such as purpose and functionality, operating system, redundancy, and backups primarily affect which of the following devices?
A. switches B. routers C. servers D. PBX