deniskuzZ commented on code in PR #5902: URL: https://github.com/apache/hive/pull/5902#discussion_r2194400254
########## standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/HMSHandler.java: ########## @@ -10944,6 +10944,21 @@ private void abortReplCreatedOpenTxnsForDatabase(String query) throws TException } } + @Override + public ReplayedTxnsForPolicyResult get_replayed_txns_for_policy(String policyName) { + Exception ex = null; + try{ + startFunction("get_replayed_txns_for_policy"); + return getTxnHandler().getReplayedTxnsForPolicy(policyName); + } catch (Exception e) { + LOG.error("Caught exception", e); + ex = e; + throw e; Review Comment: no need to log + throw newMetaException(e); -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For additional commands, e-mail: gitbox-h...@hive.apache.org