Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.5.1, 3.0.1
-
Security Level: Public
-
Triaged
-
Unknown
Description
The output of the REST API stats doesn't always return 60 entries for each stat.. sometimes 59 or 61 are returned.
for i in
{1..1000}; do /opt/couchbase/bin/curl localhost:8091/pools/default/buckets/default/stats 2>/dev/null| cut -d":" -f4 | cut -d \" -f1 | tr , "\n" | grep -v '^$' | wc -l | grep -v 60 ; done