@Override
  public long getLatestTxnIdInConflict(long txnid) throws MetaException {
    return jdbcResource.execute(new LatestTxnIdInConflictHandler(txnid));
  }
Checks if there are transactions that are overlapping, i.e. conflicting with the current one.
Valid only if the caller txn holds an exclusive lock that prevents other txns to make changes to the same tables/partitions.
Only considers txn performing update/delete and intentionally ignores inserts.
@param txnid
@return max Id for the conflicting transaction, if any, otherwise -1
@throws MetaException
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java