[ https://issues.apache.org/jira/browse/HIVE-25862?focusedWorklogId=708202&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-708202 ]
ASF GitHub Bot logged work on HIVE-25862: ----------------------------------------- Author: ASF GitHub Bot Created on: 13/Jan/22 10:37 Start Date: 13/Jan/22 10:37 Worklog Time Spent: 10m Work Description: deniskuzZ commented on a change in pull request #2945: URL: https://github.com/apache/hive/pull/2945#discussion_r783833368 ########## File path: standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java ########## @@ -638,6 +638,13 @@ void onRename(String oldCatName, String oldDbName, String oldTabName, String old * Releases all locks associated with this handle. */ void releaseLocks(); + + Long getKey2(); + + /** + * Releases all locks associated with this handle, and persist the value of key2. + */ + void releaseLocks(Long key2); Review comment: key2 rename to timestamp -- 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: 708202) Time Spent: 40m (was: 0.5h) > Persist the time of last run of the initiator > --------------------------------------------- > > Key: HIVE-25862 > URL: https://issues.apache.org/jira/browse/HIVE-25862 > Project: Hive > Issue Type: Improvement > Reporter: Antal Sinkovits > Assignee: Antal Sinkovits > Priority: Major > Labels: pull-request-available > Time Spent: 40m > Remaining Estimate: 0h > > The time of last run is used as a filter when finding compaction candidates. > Because its only stored in memory, we lose this filtering capability if the > service restarts, so it would make sense to persist it. -- This message was sent by Atlassian Jira (v8.20.1#820001)