Details
-
Bug
-
Resolution: Fixed
-
Major
-
Cheshire-Cat
-
Enterprise Edition 7.0.0 build 3874 ‧ IPv4
-
Triaged
-
1
-
Unknown
-
KV-Engine Sprint 2020-Dec
Description
Description:
When querying the basic stats endpoint 'http://10.112.210.101:8091/pools/default/buckets?basic_stats=true&skipMap=true', the 'usedMem' attribute is always 0.
Consequently, this causes the RAM usage is to be displayed as 0B for a bucket on the UI.
Steps to reproduce:
Initial state: A 3 node cluster with all services apart from analytics.
- Insert a 1000 documents into 'default.scope0.collection0'.
What happens:
Observe that the RAM usage displayed in the UI is 0B (note the screenshot will not align with logs as it was taken at a different moment in time).
Observe that querying the basic_stats indicates that the 'memUsed' attribute is 0.
(testrunner_venv) asadzaidi@EM224 cbbs % curl -su Administrator:password "http://10.112.210.101:8091/pools/default/buckets?basic_stats=true&skipMap=true" | jq '.[0]'.basicStats
|
{
|
"storageTotals": {
|
"ram": {
|
"total": 8736903168,
|
"quotaTotal": 2264924160,
|
"quotaUsed": 2264924160,
|
"used": 5638823936,
|
"usedByData": 0,
|
"quotaUsedPerNode": 754974720,
|
"quotaTotalPerNode": 754974720
|
},
|
"hdd": {
|
"total": 59485716480,
|
"quotaTotal": 59485716480,
|
"used": 7931428862,
|
"usedByData": 31536440,
|
"free": 51157716174
|
}
|
},
|
"quotaPercentUsed": 0,
|
"opsPerSec": 0,
|
"diskFetches": 0,
|
"itemCount": 1000,
|
"diskUsed": 31536440,
|
"dataUsed": 2219094,
|
"memUsed": 0,
|
"vbActiveNumNonResident": 0
|
}
|
What I expected to see:
I expected the RAM usage to be non-zero.
Attachments
Issue Links
- relates to
-
MB-43256 there are no bucket stats in test with 1000 collections on build 7.0.0-3938
- Closed