[
https://issues.apache.org/jira/browse/COUCHDB-1515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13999234#comment-13999234
]
Eli Stevens commented on COUCHDB-1515:
--------------------------------------
CouchDB 1.5.0 (from the Ubuntu 12.04 LTS ppa built by dch):
http://localhost:15984/_stats/couchdb/open_databases?range=60
{
couchdb: {
open_databases: {
description: "number of open databases",
current: -59,
sum: -59,
mean: 2.966,
stddev: 26.009,
min: -181,
max: 72
}
}
}
Kxepal on IRC says that querying this with ?range= doesn't make sense, since
these are absolute values. http://wiki.apache.org/couchdb/Runtime_Statistics
doesn't call out any keys as being special, and
http://couchdb.readthedocs.org/en/latest/api/server/common.html#stats doesn't
mention range at all. It is unclear what's supposed to happen here.
Querying without range:
{
couchdb: {
open_databases: {
description: "number of open databases",
current: 137,
sum: 137,
mean: 0.028,
stddev: 7.227,
min: -227,
max: 89
}
}
}
Which also doesn't make sense. How is min negative? How is max less than
current?
> _stats: open_databases and open_os_files are zero if queried with a
> range-parameter
> -----------------------------------------------------------------------------------
>
> Key: COUCHDB-1515
> URL: https://issues.apache.org/jira/browse/COUCHDB-1515
> Project: CouchDB
> Issue Type: Bug
> Affects Versions: 1.2
> Environment: Mac OS X (built with homebrew), Ubuntu 12.04 Server
> (build with build-couchdb)
> Reporter: Andreas Lappe
> Priority: Minor
>
> I don't know if this intentionally but I thought it would make sense that
> couchdb also reports the number of open databases and files in the last
> specified rangeā¦
--
This message was sent by Atlassian JIRA
(v6.2#6252)