[tahoe-lafs-trac-stream] [tahoe-lafs] #1280: bucket_counter.state and lease_checker.state might get corrupted after hard system shutdown
tahoe-lafs
trac at tahoe-lafs.org
Wed Aug 17 21:23:37 PDT 2011
#1280: bucket_counter.state and lease_checker.state might get corrupted after hard
system shutdown
--------------------------------+--------------------------------
Reporter: francois | Owner: zooko
Type: defect | Status: new
Priority: major | Milestone: 1.9.0
Component: code-nodeadmin | Version: 1.8.1
Resolution: | Keywords: pickle reliability
Launchpad Bug: |
--------------------------------+--------------------------------
Changes (by zooko):
* owner: francois => zooko
* status: assigned => new
Comment:
I think the current code uses the "write-to-temp-file&&close&&rename"
dance. Zancas was working on a patch to use
[http://twistedmatrix.com/documents/current/api/twisted.python.filepath.FilePath.html
FilePath] (#1437) and I saw that his patch simplified the extant "write-
to-temp-file&&close&&rename" dance by using {{{FilePath.setContents}}}.
I'll look for the details.
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1280#comment:4>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list