]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/blobdiff - src/allmydata/immutable/filenode.py
do not cache and re-use imm filenodes in nodemaker
[tahoe-lafs/tahoe-lafs.git] / src / allmydata / immutable / filenode.py
index a1a0c698849fd801bf0545351a01ee8ea7caa9fd..79e282d90e232a2645b56e7b14cf1a765fd463e3 100644 (file)
@@ -86,6 +86,8 @@ class CiphertextFileNode:
     def raise_error(self):
         pass
 
+    def is_mutable(self):
+        return False
 
     def check_and_repair(self, monitor, verify=False, add_lease=False):
         c = Checker(verifycap=self._verifycap,
@@ -154,9 +156,9 @@ class CiphertextFileNode:
                            servers_responding=list(servers_responding),
                            sharemap=sm,
                            count_wrong_shares=0, # no such thing as wrong, for immutable
-                           list_corrupt_shares=cr.get_new_corrupt_shares(),
+                           list_corrupt_shares=cr.get_corrupt_shares(),
                            count_corrupt_shares=len(cr.get_corrupt_shares()),
-                           list_incompatible_shares=cr.get_new_incompatible_shares(),
+                           list_incompatible_shares=cr.get_incompatible_shares(),
                            count_incompatible_shares=len(cr.get_incompatible_shares()),
                            summary="",
                            report=[],