private void statsClose(LocalRegion region) {
    if (region instanceof BucketRegion) {
      // region.getGemFireCache().getLogger().info("DEBUG statsClose br= " + region.getFullPath()
      // + " inVm=" + owner.getNumEntriesInVM()
      // + " onDisk=" + owner.getNumOverflowOnDisk());
      statsClear(region);
    } else {
      // region.getGemFireCache().getLogger().info("DEBUG statsClose r=" + region.getFullPath());
      stats.close();
    }
  }
The diskStats are at PR level.Hence if the region is a bucket region, the stats should not be
closed, but the figures of entriesInVM and overflowToDisk contributed by that bucket need to be
removed from the stats .
geode-core/src/main/java/org/apache/geode/internal/cache/DiskRegion.java