@Override
    public long applyAsLong(HStoreFile sf) {
      if (sf.getReader() != null) {
        return sf.getReader().length();
      } else {
        // the reader may be null for the compacted files and if the archiving
        // had failed.
        return -1L;
      }
    }
Comparator for time-aware compaction. SeqId is still the first ordering criterion to maintain
MVCC.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/StoreFileComparators.java