public long getTotalCompactingKVs() {
    if (totalCompactingKVs < currentCompactedKVs) {
      LOG.debug("totalCompactingKVs={} less than currentCompactedKVs={}", totalCompactingKVs,
        currentCompactedKVs);
      return currentCompactedKVs;
    }
    return totalCompactingKVs;
  }
Returns the total compacting key values in currently running compaction
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionProgress.java