[tahoe-lafs-trac-stream] [tahoe-lafs] #1670: KeyError in mutable retrieve

tahoe-lafs trac at tahoe-lafs.org
Thu Jun 14 15:32:27 UTC 2012


#1670: KeyError in mutable retrieve
-------------------------+-------------------------------------------------
     Reporter:  vikarti  |      Owner:  kevan
         Type:  defect   |     Status:  new
     Priority:           |  Milestone:  1.9.2
  critical               |    Version:  1.9.1
    Component:  code-    |   Keywords:  mutable retrieve error tahoe-backup
  mutable                |  regression
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by zooko):

 Replying to [comment:9 kevan]:
 > It looks like the mutable filenode modification code in
 {{{MutableFileVersion}}} reacts to an {{{UncoordinatedWriteError}}} by
 performing a map update, then trying the operation again.

 Hm, that's interesting. Is this... intentional? Is this intended by
 ''someone''? :-) I don't know right now whether ''I'' would intend that
 behavior.

 A simpler behavior in response to {{{UncoordinatedWriteError}}} would be
 to abort the current operation and inform the user. That simpler behavior
 would presumably not have this bug in it, and maybe it would also avoid
 other potential problems caused by re-attempting an operation when there
 is evidence that someone else is uncoordinatedly changing the same file.

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1670#comment:15>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list