dschneider-pivotal commented on code in PR #7716:
URL: https://github.com/apache/geode/pull/7716#discussion_r879714796


##########
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java:
##########
@@ -7767,6 +7768,16 @@ protected void postDestroyRegion(boolean 
destroyDiskRegion, RegionEventImpl even
         cache.getInternalDistributedSystem().getDistributedMember(), null, 
op.isClose());
   }
 
+  private void closeDataStoreStats() {
+    PartitionedRegionDataStore localDataStore = dataStore;

Review Comment:
   But as a look at all the existing code in this class that simply checks if 
"dataStore" is null, I'll change this code to also follow that pattern.



-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@geode.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to