private void lock(final Lock lock) throws IOException {
    lock(lock, 1);
  }
Update LongAdders for number of puts without wal and the size of possible data loss. These
information are exposed by the region server metrics.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java