mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-12 05:55:35 +00:00
mutable: don't tell server about corruption unless it's really CorruptShareError
This commit is contained in:
parent
f1752f54c0
commit
ca78e6b146
@ -591,6 +591,7 @@ class Retrieve:
|
|||||||
self._bad_shares.add((server, shnum, f))
|
self._bad_shares.add((server, shnum, f))
|
||||||
self._status.add_problem(server, f)
|
self._status.add_problem(server, f)
|
||||||
self._last_failure = f
|
self._last_failure = f
|
||||||
|
if f.check(CorruptShareError):
|
||||||
self.notify_server_corruption(server, shnum, str(f.value))
|
self.notify_server_corruption(server, shnum, str(f.value))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user