[tahoe-lafs-trac-stream] [tahoe-lafs] #667: KeyError in mutable download

tahoe-lafs trac at tahoe-lafs.org
Thu Dec 6 22:19:23 UTC 2012


#667: KeyError in mutable download
-------------------------+-------------------------------------------------
     Reporter:  warner   |      Owner:
         Type:  defect   |     Status:  new
     Priority:  major    |  Milestone:  soon
    Component:  code-    |    Version:  1.3.0
  mutable                |   Keywords:  mutable download reliability
   Resolution:           |  availability
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Old description:

> Zooko observed a !KeyError exception raised during mutable-file
> retrieval, in #651 (specifically at
> source:src/allmydata/mutable/retrieve.py#L157). This is a bug in the
> retrieval code, probably triggered by running out of valid shares. Either
> the {{{self.remaining_sharemap}}} mapping should not be modified while
> {{{download()}}} is iterating over it, or more likely {{{download()}}}
> must be prepared for {{{remaining_sharemap}}} to change during the
> iteration.

New description:

 Zooko observed a !KeyError exception raised during mutable-file retrieval,
 in #651 (specifically at
 [source:git/src/allmydata/mutable/retrieve.py?rev=4061258c#L157]). This is
 a bug in the retrieval code, probably triggered by running out of valid
 shares. Either the {{{self.remaining_sharemap}}} mapping should not be
 modified while {{{download()}}} is iterating over it, or more likely
 {{{download()}}} must be prepared for {{{remaining_sharemap}}} to change
 during the iteration.

--

Comment (by davidsarah):

 Editing description to refer to the right revision.

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


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