mhansonp commented on a change in pull request #6430: URL: https://github.com/apache/geode/pull/6430#discussion_r640978212
########## File path: geode-core/src/main/java/org/apache/geode/internal/cache/AbstractRegionMap.java ########## @@ -388,9 +378,21 @@ public void close(BucketRegion bucketRegion) { if (logger.isDebugEnabled()) { logger.debug("Clearing entries for {} rvv={}", _getOwner(), rvv); } - LocalRegion lr = _getOwner(); + final LocalRegion lr = _getOwner(); RegionVersionVector localRvv = lr.getVersionVector(); - incClearCount(lr); + + boolean isBucketRegion = false; + + if (!(lr instanceof HARegion)) { + CachePerfStats stats = lr.getCachePerfStats(); Review comment: I have pruned out the stats need after re-reviewing that code. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org