3 ms·
Thinking about how dropbox might be implemented I wonder if the following series of events is possible: 1) Process which syncs files to the server fails to get
by ChuckMcM 14y ago
Thinking about how dropbox might be implemented I wonder if the following series of events is possible:
1) Process which syncs files to the server fails to get access to a local fils, sees it as length 0
2) Process proceeds to tell the server file is length 0 and the server updates the file to be 0 length.
3) Access to the local file is restored and client notices that the server file is 'newer' than the local client version and it was length zero so it truncates the client copy to length 0.
The thing is, I can imagine a number of scenarios where the local file might seem to be zero length (oplocks on NTFS volumes being one)