#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...@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...@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
_______________________________________________
tahoe-dev mailing list
[email protected]
http://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev