@Override
  public Configuration getReadOnlyConfiguration() {
    return new ReadOnlyConfiguration(this.conf);
  }
Wait for all current flushes of the region to complete
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java