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:
f1752f5
)
mutable: don't tell server about corruption unless it's really CorruptShareError
author
Brian Warner
<warner@lothar.com>
Sat, 7 Jan 2012 22:40:57 +0000
(14:40 -0800)
committer
Brian Warner
<warner@lothar.com>
Sun, 8 Jan 2012 22:12:45 +0000
(14:12 -0800)
src/allmydata/mutable/retrieve.py
patch
|
blob
|
history
diff --git
a/src/allmydata/mutable/retrieve.py
b/src/allmydata/mutable/retrieve.py
index 202e1ea868f69eb0f929520ec4dd30ddf20e8c6c..055a2d390ea71abfa21c12d29a1e2a9ed172bad5 100644
(file)
--- a/
src/allmydata/mutable/retrieve.py
+++ b/
src/allmydata/mutable/retrieve.py
@@
-591,7
+591,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):