[tahoe-dev] [tahoe-lafs] #1191: unit test failure: failed to download file with 2 shares on one server and one share on another

tahoe-lafs trac at tahoe-lafs.org
Mon Sep 6 04:41:55 UTC 2010


#1191: unit test failure: failed to download file with 2 shares on one server and
one share on another
------------------------------------+---------------------------------------
     Reporter:  zooko               |       Owner:                    
         Type:  defect              |      Status:  new               
     Priority:  major               |   Milestone:  1.8.0             
    Component:  code-peerselection  |     Version:  1.8β              
   Resolution:                      |    Keywords:  immutable download
Launchpad Bug:                      |  
------------------------------------+---------------------------------------

Comment (by zooko):

 Okay I think I understand the bug now.
 [source:trunk/src/allmydata/immutable/downloader/finder.py at 4707#L217
 ShareFinder._deliver_shares()] calls
 {{{eventually(self.share_consumer.got_shares, shares)}}} and then in the
 next tick—''before'' {{{got_shares()}}} has been
 executed—[source:trunk/src/allmydata/immutable/downloader/finder.py at 4707#L89
 ShareFinder.loop()] runs and gives up and aborts the download because it
 isn't aware of the shares that were going to be delivered to it in a
 subsequent tick.

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1191#comment:8>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-dev mailing list