Kirk Lund created GEODE-7221:
--------------------------------

             Summary: Management regions never close dedicated CachePerfStats
                 Key: GEODE-7221
                 URL: https://issues.apache.org/jira/browse/GEODE-7221
             Project: Geode
          Issue Type: Bug
          Components: management
            Reporter: Kirk Lund


The FederatingManager and LocalManager classes create the monitoring and 
notification regions for management of each member. They are constructing 
injecting HasCachePerfStats instances with their own dedicated instances of 
CachePerfStats into InternalRegionArgs:
{noformat}
InternalRegionArgs.setCachePerfStatsHolder(HasCachePerfStats)
{noformat}
Over in LocalRegion, the field hasOwnStats is set to false:
{noformat}
    if (internalRegionArgs.getCachePerfStatsHolder() != null) {
      hasOwnStats = false;
      cachePerfStats = 
internalRegionArgs.getCachePerfStatsHolder().getCachePerfStats();
{noformat}
Which results in region destroy not closing the CachePerfStats.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to