[tahoe-lafs-trac-stream] [tahoe-lafs] #1636: Unhandled error in Deferred while uploading (current darcs build)

tahoe-lafs trac at tahoe-lafs.org
Wed Dec 28 23:58:24 UTC 2011


#1636: Unhandled error in Deferred while uploading (current darcs build)
----------------------------+------------------------
     Reporter:  killyourtv  |      Owner:  nobody
         Type:  defect      |     Status:  new
     Priority:  critical    |  Milestone:  1.9.1
    Component:  unknown     |    Version:  1.9.0
   Resolution:              |   Keywords:  regression
Launchpad Bug:              |
----------------------------+------------------------

Comment (by warner):

 Ok, I think we have two things going on here:

 * {{{notify_server_corruption}}} needs to check if the rref it gets is
 None before invoking {{{callRemoteOnly}}} on it. This was probably exposed
 by my {{{IServer}}} refactoring, since before that, the servermap was
 holding actual {{{RemoteReference}}} objects, and now it just holds
 {{{IServer}}} objects (from which you can get a {{{RemoteReference}}},
 '''if it is still connected''', with {{{.get_rref()}}}).
 * certain errors during the retrieve code get dropped, and the retrieve
 hangs. To fix this, the control flow needs to be carefully structured to
 make sure that all exceptions will get caught in a Deferred chain that
 leads into the main Retrieve deferred.

 Zooko is going to write a patch for the first problem. Brian will walk
 through the code to fix the second problem.

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


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