immutable/filenode.py: add TODO note about the #514 monitor to check(), rather than...
authorBrian Warner <warner@lothar.com>
Wed, 22 Oct 2008 08:42:37 +0000 (01:42 -0700)
committerBrian Warner <warner@lothar.com>
Wed, 22 Oct 2008 08:42:37 +0000 (01:42 -0700)
src/allmydata/immutable/filenode.py

index 2d87a1f97b2eb7d37c92c9a7749d83f49de64292..bf06cb510d51caecde6b6ab577ab4f4d1d909d4d 100644 (file)
@@ -56,6 +56,9 @@ class FileNode(ImmutableFileNode):
         return self.u.storage_index
 
     def check(self, monitor, verify=False):
+        # TODO: pass the Monitor to SimpleCHKFileChecker or
+        # SimpleCHKFileVerifier, have it call monitor.raise_if_cancelled()
+        # before sending each request.
         storage_index = self.u.storage_index
         k = self.u.needed_shares
         N = self.u.total_shares