Menu

#9 file synchronization problem

open
5
2006-03-23
2006-03-23
anyana
No

The following steps show a potential file
synchronization problem:

-> User A is the driver
-> User B is the navigator
-> User B creates a new file "file2.java"
-> User B types in a few lines in "file2.java"
-> User A releases drive control
-> User B takes over drive control
-> User B types more lines in "file2.java"

On User A's screen, the editor shows a new tab
labeled "file2.java" with blank content and error
message at bottom that says "File /dir/file2.java
does not exist."

Now, User A can manually create "file2.java" then
after User B releases drive control, User A can
become the driver and start typing in "file2.java"
The changes reflect in "file2.java" on User B's
screen. But now, the 2 files are different, with the
one on User B's side having a few extra lines that
are not on User A's version.

Not really sure what the right behavior should be...

Thanks,
Jenny

Discussion


Log in to post a comment.

MongoDB Logo MongoDB