]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blob - docs/write_coordination.html
8844ecdef4e56a496def33648815032e017b56b8
[tahoe-lafs/tahoe-lafs.git] / docs / write_coordination.html
1 <!DOCtype HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html lang="en">
3   <head>
4     <title>Avoiding Write Collisions in Tahoe</title>
5     <link rev="made" class="mailto" href="mailto:zooko[at]zooko[dot]com">
6     <meta name="description" content="how to avoid write collisions in Tahoe">
7     <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8     <meta name="keywords" content="tahoe secure decentralized filesystem installation">
9   </head>
10
11   <body>
12     <h1>Write Collisions</h1>
13     <p>Tahoe does not provide locking of the mutable files and directories.  If there is more than one simultaneous attempt to change a mutable file or directory, then an <cite>UncoordinatedWriteError</p> will 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 which wants to write.</p>
14
15   </body>
16 </html>