[tahoe-lafs-trac-stream] [tahoe-lafs] #393: mutable: implement MDMF

tahoe-lafs trac at tahoe-lafs.org
Wed Aug 10 10:36:45 PDT 2011


#393: mutable: implement MDMF
-------------------------+-------------------------------------------------
     Reporter:  warner   |      Owner:  zooko
         Type:           |     Status:  new
  enhancement            |  Milestone:  1.9.0
     Priority:  major    |    Version:  1.0.0
    Component:  code-    |   Keywords:  newcaps performance random-access
  mutable                |  privacy gsoc mdmf mutable backward-
   Resolution:           |  compatibility forward-compatibility review-
Launchpad Bug:           |  needed
-------------------------+-------------------------------------------------

Comment (by warner):

 Applying status48 to current trunk, fixing up the conflicts that
 resulted (including deleting an extra call to
 {{{d.addCallback(_created)}}}), then attempting a simple WUI MDMF
 upload, I got an exception. After adding a line to dump the
 {{{self._offsets}}} table, here's what it looked like:

 {{{
 11:10:21.946 L20 []#335 {'EOF': 7156,
 11:10:21.946 L20 []#336  'block_hash_tree': 7124,
 11:10:21.946 L20 []#337  'enc_privkey': 123,
 11:10:21.946 L20 []#338  'share_data': 1905,
 11:10:21.946 L20 []#339  'share_hash_chain': 1337,
 11:10:21.946 L20 []#340  'signature': 1473,
 11:10:21.947 L20 []#341  'verification_key': 1729,
 11:10:21.947 L20 []#342  'verification_key_end': 2021}
 11:10:21.947 L20 []#343 Publish ran out of good servers, last failure was:
 [Failure instance: Traceback: <type 'exceptions.AssertionError'>:
 /Library/Python/2.6/site-
 packages/Twisted-11.0.0-py2.6-macosx-10.6-universal.egg/twisted/internet/base.py:793:runUntilCurrent
 /Library/Python/2.6/site-
 packages/foolscap-0.6.1-py2.6.egg/foolscap/eventual.py:26:_turn
 /Library/Python/2.6/site-
 packages/Twisted-11.0.0-py2.6-macosx-10.6-universal.egg/twisted/internet/defer.py:361:callback
 /Library/Python/2.6/site-
 packages/Twisted-11.0.0-py2.6-macosx-10.6-universal.egg/twisted/internet/defer.py:455:_startRunCallbacks
 --- <exception caught here> ---
 /Library/Python/2.6/site-
 packages/Twisted-11.0.0-py2.6-macosx-10.6-universal.egg/twisted/internet/defer.py:542:_runCallbacks
 /Users/warner2/stuff/tahoe/trunk-393-3/src/allmydata/mutable/publish.py:634:_push
 /Users/warner2/stuff/tahoe/trunk-393-3/src/allmydata/mutable/publish.py:651:push_segment
 /Users/warner2/stuff/tahoe/trunk-393-3/src/allmydata/mutable/publish.py:637:_push
 /Users/warner2/stuff/tahoe/trunk-393-3/src/allmydata/mutable/publish.py:771:push_everything_else
 /Users/warner2/stuff/tahoe/trunk-393-3/src/allmydata/mutable/publish.py:862:finish_publishing
 /Users/warner2/stuff/tahoe/trunk-393-s48/src/allmydata/mutable/layout.py:1080:put_verification_key
 ]
 }}}

 It looks like the pubkey is overrunning the subsequent share data,
 as if it was larger than the space originally reserved for it.

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


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