@Override
  public Optional<CompactionInfo> getCompactionByTxnId(long txnId) throws MetaException {
    return Optional.ofNullable(jdbcResource.execute(new GetCompactionInfoHandler(txnId, true)));
  }
Returns the min txnid seen open by any active transaction
@deprecated remove when min_history_level is dropped
@return txnId
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java