[ https://issues.apache.org/jira/browse/HIVE-25346?focusedWorklogId=666226&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-666226 ]
ASF GitHub Bot logged work on HIVE-25346: ----------------------------------------- Author: ASF GitHub Bot Created on: 18/Oct/21 10:35 Start Date: 18/Oct/21 10:35 Worklog Time Spent: 10m Work Description: pvary commented on a change in pull request #2716: URL: https://github.com/apache/hive/pull/2716#discussion_r730789044 ########## File path: standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/CompactionTxnHandler.java ########## @@ -520,6 +520,8 @@ public void cleanTxnToWriteIdTable() throws MetaException { ResultSet rs = null; try { + long minTxnIdSeenOpen = findMinTxnIdSeenOpen(); Review comment: Could we add this to the query below as well? Previously the goal was to reduce the number of SQL queries so we can have better performance -- 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 Issue Time Tracking ------------------- Worklog Id: (was: 666226) Time Spent: 8h (was: 7h 50m) > cleanTxnToWriteIdTable breaks SNAPSHOT isolation > ------------------------------------------------ > > Key: HIVE-25346 > URL: https://issues.apache.org/jira/browse/HIVE-25346 > Project: Hive > Issue Type: Bug > Reporter: Zoltan Chovan > Assignee: Zoltan Chovan > Priority: Major > Labels: pull-request-available > Time Spent: 8h > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)