[tahoe-lafs-trac-stream] [tahoe-lafs] #1669: ValueError (need more than 8 values to unpack) during mutable MDMF repair

tahoe-lafs trac at tahoe-lafs.org
Thu Jun 21 03:34:00 UTC 2012


#1669: ValueError (need more than 8 values to unpack) during mutable MDMF repair
-------------------------+-------------------------------------------------
     Reporter:  vikarti  |      Owner:  zooko
         Type:  defect   |     Status:  assigned
     Priority:           |  Milestone:  1.9.2
  critical               |    Version:  1.9.1
    Component:  code-    |   Keywords:  mutable mdmf repair error
  mutable                |  regression preservation
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by zooko):

 Here's the minimal patch that ''probably'' fixes the bug. Please don't
 ship this in a new stable release until we have a unit test of it!

 {{{
 HACK zompu:~/playground/tahoe-lafs/ticket1669-debuggery/1.9.2-pristine$
 darcs diff -u
 diff -rN -u old-1.9.2-pristine/src/allmydata/mutable/layout.py
 new-1.9.2-pristine/src/allmydata/mutable/layout.py
 --- old-1.9.2-pristine/src/allmydata/mutable/layout.py  2012-06-21
 00:33:48.246275199 -0300
 +++ new-1.9.2-pristine/src/allmydata/mutable/layout.py  2012-06-21
 00:33:48.386274653 -0300
 @@ -1102,10 +1102,11 @@
      def get_verinfo(self):
          return (self._seqnum,
                  self._root_hash,
 -                self._required_shares,
 -                self._total_shares,
 +                None,
                  self._segment_size,
                  self._data_length,
 +                self._required_shares,
 +                self._total_shares,
                  self.get_signable(),
                  self._get_offsets_tuple())

 }}}

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


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