Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7221

Management regions never close dedicated CachePerfStats

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0-incubating, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.9.0, 1.9.1, 1.10.0
    • 1.11.0
    • management
    • None

    Description

      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:

      InternalRegionArgs.setCachePerfStatsHolder(HasCachePerfStats)
      

      Over in LocalRegion, the field hasOwnStats is set to false:

          if (internalRegionArgs.getCachePerfStatsHolder() != null) {
            hasOwnStats = false;
            cachePerfStats = internalRegionArgs.getCachePerfStatsHolder().getCachePerfStats();
      

      Which results in region destroy not closing the CachePerfStats.

      Attachments

        Issue Links

          Activity

            People

              klund Kirk Lund
              klund Kirk Lund
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h