[tahoe-lafs-trac-stream] [tahoe-lafs] #1392: if you have fewer than 1000 measurements, return None (meaning "I don't know") when asked for the 99.9% percentile.
tahoe-lafs
trac at tahoe-lafs.org
Fri May 27 05:09:14 PDT 2011
#1392: if you have fewer than 1000 measurements, return None (meaning "I don't
know") when asked for the 99.9% percentile.
-------------------------------+---------------------------
Reporter: arch_o_median | Owner: arch_o_median
Type: defect | Status: closed
Priority: minor | Milestone: undecided
Component: code-storage | Version: 1.8.2
Resolution: fixed | Keywords: reviewed
Launchpad Bug: |
-------------------------------+---------------------------
Changes (by wilcoxjg@…):
* status: new => closed
* resolution: => fixed
Comment:
In [5047/trunk]:
{{{
#!CommitTicketReference repository="trunk" revision="5047"
server.py: get_latencies now reports percentiles _only_ if there are
sufficient observations for the interpretation of the percentile to be
unambiguous.
interfaces.py: modified the return type of RIStatsProvider.get_stats to
allow for None as a return value
NEWS.rst, stats.py: documentation of change to get_latencies
stats.rst: now documents percentile modification in get_latencies
test_storage.py: test_latencies now expects None in output categories
that contain too few samples for the associated percentile to be
unambiguously reported.
fixes #1392
}}}
--
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1392#comment:24>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list