private int updateRedundancy() {
    int numBucketHosts = getNumInitializedBuckets();
    if (!isClosed()) {
      redundancyTracker.updateStatistics(numBucketHosts);
    }
    return numBucketHosts;
  }
Get the current number of bucket hosts and update the redundancy statistics for the region

@return number of current bucket hosts
geode-core/src/main/java/org/apache/geode/internal/cache/BucketAdvisor.java