[tahoe-lafs-trac-stream] [tahoe-lafs] #1670: add tests for KeyError in mutable read-modify-write

tahoe-lafs trac at tahoe-lafs.org
Mon Jan 14 09:40:02 UTC 2013


#1670: add tests for KeyError in mutable read-modify-write
-------------------------+-------------------------------------------------
     Reporter:  vikarti  |      Owner:  zooko
         Type:  defect   |     Status:  assigned
     Priority:  normal   |  Milestone:  1.11.0
    Component:  code-    |    Version:  1.9.1
  mutable                |   Keywords:  mutable retrieve error tahoe-backup
   Resolution:           |  regression test-needed
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Comment (by zooko):

 Here is a stack trace from joepie91:

 {{{
 ata/mutable/filenode.py", line 885, in _modify_once
     d = self._try_to_download_data()
   File "/home/occupy/allmydata-
 tahoe-1.9.2/src/allmydata/mutable/filenode.py", line 963, in
 _try_to_download_data
     d = self._read(c, fetch_privkey=True)
   File "/home/occupy/allmydata-
 tahoe-1.9.2/src/allmydata/mutable/filenode.py", line 985, in _read
     d = r.download(consumer, offset, size)
   File "/home/occupy/allmydata-
 tahoe-1.9.2/src/allmydata/mutable/retrieve.py", line 244, in download
     self._setup_download()
   File "/home/occupy/allmydata-
 tahoe-1.9.2/src/allmydata/mutable/retrieve.py", line 284, in
 _setup_download
     shares = versionmap[self.verinfo]
 exceptions.KeyError: (42,
 "@'<F\x98\xbdY\xdf\x98\xc5\xa6\x885\xd7U\xe2\xb3U\x83\xdcn\xfa\x0fW2\xe7\xbc\xc1\\%r\xbe",
 '4\xeb\xc5- \x19\x8b)\xe1. at -z|\x1c\xb2', 668, 666, 4, 8,
 "\x00\x00\x00\x00\x00\x00\x00\x00*@'<F\x98\xbdY\xdf\x98\xc5\xa6\x885\xd7U\xe2\xb3U\x83\xdcn\xfa\x0fW2\xe7\xbc\xc1\\%r\xbe4\xeb\xc5-
 \x19\x8b)\xe1. at -z|\x1c\xb2\x04\x08\x00\x00\x00\x00\x00\x00\x02\x9c\x00\x00\x00\x00\x00\x00\x02\x9a",
 (('enc_privkey', 956), ('EOF', 2172), ('share_data', 789), ('signature',
 399), ('block_hash_tree', 757), ('share_hash_chain', 655)))
 }}}

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


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