public long wroteUpToKey() {
    return wroteUpToKey.get();
  }
The max key until which all keys have been inserted/updated (successfully or not).
@return the last key that we have inserted/updated all keys up to (inclusive)
hbase-diagnostics/src/main/java/org/apache/hadoop/hbase/util/MultiThreadedWriterBase.java