@Override
  public MetricsRegionServer getMetrics() {
    return metricsRegionServer;
  }
For testing
@return whether all wal roll request finished for this regionserver
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java