You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Fred Krone (JIRA)" <ji...@apache.org> on 2017/03/16 19:09:41 UTC

[jira] [Created] (GEODE-2676) RegionMBean statistics wrong on partitioned regions

Fred Krone created GEODE-2676:
---------------------------------

             Summary: RegionMBean statistics wrong on partitioned regions
                 Key: GEODE-2676
                 URL: https://issues.apache.org/jira/browse/GEODE-2676
             Project: Geode
          Issue Type: Bug
            Reporter: Fred Krone


RegionMBean attributes hitCount, hitRatio, missCount, lastAccessedTime, and lastModifiedTime will always be 0 for an mbean that represents an partitioned region.

The gettors for these methods may call getStatistics() which on a PR always throws UnsupportedOperationException?. So this exception might even get exposed to customers.

The initialization of RegionMBeanBridge calls getStatisticsEnabled() which an return true on a pr (seems really bad that this can return true yet getStatistics always throws).

See Trac ticket: https://svn.gemstone.com/trac/gemfire/ticket/46715



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)