[
https://issues.apache.org/jira/browse/GEODE-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16129639#comment-16129639
]
Kirk Lund commented on GEODE-1211:
----------------------------------
The stats engine and JMX mbeans have tests that confirm that stats are not
doubled or otherwise wrong due to a bug in the stats/JMX code.
I think it's reasonable to include "statistics" as one of the components on
Jira tickets such as this, but I really need someone with DiskStore/persistence
knowledge to determine if there's a bug in how persistence is inc'ing and
dec'ing the stat values. JMX is just showing the values from DiskStoreStats. If
the value in DiskStoreStats is wrong then something in DiskStore isn't using
stats correctly. I recommend writing some unit and integration tests for
DiskStoreStats.
> Multiple Regions using the same DiskStore cause double-counting in the member
> TotalDiskUsage JMX attribute
> ----------------------------------------------------------------------------------------------------------
>
> Key: GEODE-1211
> URL: https://issues.apache.org/jira/browse/GEODE-1211
> Project: Geode
> Issue Type: Bug
> Components: persistence
> Reporter: Barry Oglesby
>
> Here is what I'm seeing in my simple tests.
> After putting with 10000 entries into two persistent replicated regions each
> using its own disk store:
> {{MemberMBean.getTotalDiskUsage}} totals each disk store bytes on disk
> properly:
> {noformat}
> MemberMBean.getTotalDiskUsage returning 1298573 bytes
> DiskStoreMBeanBridge.getTotalBytesOnDisk data-rr_store returning 649253 bytes
> DiskStoreMBeanBridge.getTotalBytesOnDisk data2-rr_store returning 649320 bytes
> {noformat}
> After putting with 10000 entries into two persistent replicated regions each
> using the same disk store:
> {{MemberMBean.getTotalDiskUsage}} double-counts the disk store bytes on disk:
> {noformat}
> MemberMBean.getTotalDiskUsage returning 2596956 bytes
> DiskStoreMBeanBridge.getTotalBytesOnDisk data-rr_store returning 1298478 bytes
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)