2013-11-08 20:31:08 +00:00
|
|
|
.. -*- coding: utf-8-with-signature -*-
|
|
|
|
|
2011-05-10 19:16:50 +00:00
|
|
|
==================================
|
|
|
|
Avoiding Write Collisions in Tahoe
|
|
|
|
==================================
|
|
|
|
|
2011-08-31 23:21:48 +00:00
|
|
|
Tahoe does not provide locking of mutable files and directories.
|
|
|
|
If there is more than one simultaneous attempt to change a mutable file
|
|
|
|
or directory, then an ``UncoordinatedWriteError`` may result.
|
|
|
|
This might, in rare cases, cause the file or directory contents to be
|
|
|
|
accidentally deleted. The user is expected to ensure that there is at
|
|
|
|
most one outstanding write or update request for a given file or
|
|
|
|
directory at a time. One convenient way to accomplish this is to make
|
|
|
|
a different file or directory for each person or process that wants to
|
2011-05-10 19:16:50 +00:00
|
|
|
write.
|
2011-08-31 23:21:48 +00:00
|
|
|
|
2014-12-01 21:48:28 +00:00
|
|
|
If mutable parts of a file store are accessed via sshfs, only a single
|
2011-08-31 23:21:48 +00:00
|
|
|
sshfs mount should be used. There may be data loss if mutable files or
|
|
|
|
directories are accessed via two sshfs mounts, or written both via sshfs
|
|
|
|
and from other clients.
|