if os.path.exists(self._encoding_file):
self.log("ciphertext already present, bypassing fetch",
level=log.UNUSUAL)
+ # XXX the following comment is probably stale, since
+ # LocalCiphertextReader.get_plaintext_hashtree_leaves does not exist.
+ #
# we'll still need the plaintext hashes (when
# LocalCiphertextReader.get_plaintext_hashtree_leaves() is
# called), and currently the easiest way to get them is to ask
files always return True."""
def needs_rebalancing():
- """Return a boolean, True if the file/dirs reliability could be
+ """Return a boolean, True if the file/dir's reliability could be
improved by moving shares to new servers. Non-distributed LIT files
always return False."""
class BadWriteEnablerError(Exception):
pass
-class RIControlClient(RemoteInterface):
+class RIControlClient(RemoteInterface):
def wait_for_client_connections(num_clients=int):
"""Do not return until we have connections to at least NUM_CLIENTS
storage servers.