private List<String> getTxnDbsUpdated(long txnId) throws MetaException {
    try {
      return sqlRetryHandler.executeWithRetry(
          new SqlRetryCallProperties().withCallerId("GetTxnDbsUpdatedHandler"),
          () -> jdbcResource.execute(new GetTxnDbsUpdatedHandler(txnId)));
    } catch (MetaException e) {
      throw e;
    } catch (TException e) {
      throw new MetaException(e.getMessage());
    }
  }
Returns the databases updated by txnId.
Queries TXN_TO_WRITE_ID using txnId.

@param txnId
@throws MetaException
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java