Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.2.0
-
Security Level: Public
-
Untriaged
-
Unknown
Description
I can argue both ways (0% or 100%) for what vb_active_perc_mem_resident should be when there are no items in the vbucket, but it seems like the safer choice for this condition would be to report 100% of the items are resident. Reporting 0% indicates to me there is a bad situation and everything has been flushed to disk, but since there isn't anything at all there, there is no error and everything that should be in memory is in memory, just that there isn't anything to put in memory.