]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/mutable/layout.py
SDMF: update filenode with correct k/N after Retrieve. Fixes #1510.
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / mutable / layout.py
index e3835a1949e85fa3d5222700c4c22c6a5d1392d9..93d0c8f15c2b055715d04465e7797e67aab8252d 100644 (file)
@@ -499,7 +499,7 @@ class SDMFSlotWriteProxy:
         """
         for k in ["sharedata", "encprivkey", "signature", "verification_key",
                   "share_hash_chain", "block_hash_tree"]:
-            assert k in self._share_pieces, (k, self._share_pieces.keys())
+            assert k in self._share_pieces, (self.shnum, k, self._share_pieces.keys())
         # This is the only method that actually writes something to the
         # remote server.
         # First, we need to pack the share into data that we can write