]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Sun Jan 8 22:12:45 GMT 2012 Brian Warner <warner@lothar.com>
authorDaira Hopwood <daira@jacaranda.org>
Thu, 5 Sep 2013 16:33:04 +0000 (17:33 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Thu, 5 Sep 2013 16:33:04 +0000 (17:33 +0100)
  * mutable: don't tell server about corruption unless it's really CorruptShareError

src/allmydata/mutable/retrieve.py

index 0845d29086912838c66ae1e240b769875e75d849..cb9c37f85266477231140ad0352ec7f5bbeedd0f 100644 (file)
@@ -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):