From: Daira Hopwood Date: Thu, 5 Sep 2013 16:33:04 +0000 (+0100) Subject: Sun Jan 8 22:12:45 GMT 2012 Brian Warner X-Git-Url: https://git.rkrishnan.org/listings/frontends/CLI.rst?a=commitdiff_plain;h=d2244f2ccf58ca2e2a96f66014fb44a001349f9a;p=tahoe-lafs%2Ftahoe-lafs.git Sun Jan 8 22:12:45 GMT 2012 Brian Warner * mutable: don't tell server about corruption unless it's really CorruptShareError --- diff --git a/src/allmydata/mutable/retrieve.py b/src/allmydata/mutable/retrieve.py index 0845d290..cb9c37f8 100644 --- a/src/allmydata/mutable/retrieve.py +++ b/src/allmydata/mutable/retrieve.py @@ -592,7 +592,8 @@ class Retrieve: self._bad_shares.add((server, shnum, f)) self._status.add_problem(server, f) self._last_failure = f - self.notify_server_corruption(server, shnum, str(f.value)) + if f.check(CorruptShareError): + self.notify_server_corruption(server, shnum, str(f.value)) def _download_current_segment(self):