[tahoe-lafs-trac-stream] [tahoe-lafs] #1115: add servers-of-happiness to reports (post-repair says 10 hosts have good shares but there are only 4 hosts)
tahoe-lafs
trac at tahoe-lafs.org
Sun Apr 1 23:39:10 UTC 2012
#1115: add servers-of-happiness to reports (post-repair says 10 hosts have good
shares but there are only 4 hosts)
-------------------------+-------------------------------------------------
Reporter: zooko | Owner: amiller
Type: defect | Status: new
Priority: major | Milestone: 1.9.2
Component: code- | Version: 1.7.0
frontend-web | Keywords: usability easy repair servers-of-
Resolution: | happiness upload review-needed
Launchpad Bug: |
-------------------------+-------------------------------------------------
Changes (by amiller):
* keywords: usability easy repair servers-of-happiness upload => usability
easy repair servers-of-happiness upload review-needed
Comment:
Good catch. I fixed the problem by adding an initial argument to reduce:
{{{ len(reduce(set.union, sm.itervalues()) }}}
I modified the unit test to cover this as well.
Apparently github pull requests are not stateless so the previous link now
includes my new commit, so perhaps that's not the ideal for archiving
progress. Here's the commit:
https://github.com/amiller/tahoe-
lafs/commit/3898753b9549f5b355a0233b835da8fc38faa5c6
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1115#comment:16>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list