deniskuzZ commented on code in PR #3908: URL: https://github.com/apache/hive/pull/3908#discussion_r1064517937
########## standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java: ########## @@ -5771,12 +5789,11 @@ public void performTimeOuts() { close(rs, stmt, null); int numTxnsAborted = 0; for(List<Long> batchToAbort : timedOutTxns) { - if (abortTxns(dbConn, batchToAbort, true, false, false) == batchToAbort.size()) { + if (abortTxns(dbConn, batchToAbort, true, false, false, TxnErrorMsg.ABORT_TIMEOUT) == batchToAbort.size()) { dbConn.commit(); numTxnsAborted += batchToAbort.size(); //todo: add TXNS.COMMENT filed and set it to 'aborted by system due to timeout' Collections.sort(batchToAbort);//easier to read logs - LOG.info("Aborted the following transactions due to timeout: {}", batchToAbort.toString()); Review Comment: line 5790 prints the same message -- 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