[ 
https://issues.apache.org/jira/browse/GEODE-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16129374#comment-16129374
 ] 

Fred Krone commented on GEODE-1211:
-----------------------------------

Nick: The stats are calculated by taking the size of data being added (and 
incrementing the stats): there is no check being done to measure the actual 
size on disk. This would suggest that either the calculation done to get the 
size is off or we are double/multiple reporting certain size increase actions 
in the stats. 

Since we have a known issue of just such a doubling (and data size vs stat size 
seen fits that situation), that is the likely culprit here.

> 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)

Reply via email to