projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9988207
)
Sun Jan 8 22:12:45 GMT 2012 Brian Warner <warner@lothar.com>
author
Daira Hopwood
<daira@jacaranda.org>
Thu, 5 Sep 2013 16:33:04 +0000
(17:33 +0100)
committer
Daira 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
patch
|
blob
|
history
diff --git
a/src/allmydata/mutable/retrieve.py
b/src/allmydata/mutable/retrieve.py
index 0845d29086912838c66ae1e240b769875e75d849..cb9c37f85266477231140ad0352ec7f5bbeedd0f 100644
(file)
--- 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):