[ 
https://issues.apache.org/jira/browse/HIVE-25688?focusedWorklogId=697220&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-697220
 ]

ASF GitHub Bot logged work on HIVE-25688:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Dec/21 11:59
            Start Date: 16/Dec/21 11:59
    Worklog Time Spent: 10m 
      Work Description: deniskuzZ commented on a change in pull request #2780:
URL: https://github.com/apache/hive/pull/2780#discussion_r770475147



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Cleaner.java
##########
@@ -126,7 +122,7 @@ public void run() {
           List<CompactionInfo> readyToClean = 
txnHandler.findReadyToClean(minOpenTxnId, retentionTime);
           if (!readyToClean.isEmpty()) {
             long minTxnIdSeenOpen = txnHandler.findMinTxnIdSeenOpen();
-            final long cleanerWaterMark = minTxnIdSeenOpen < 0 ? minOpenTxnId 
: Math.min(minOpenTxnId, minTxnIdSeenOpen);
+            long cleanerWaterMark = minTxnIdSeenOpen < 0 ? minOpenTxnId : 
Math.min(minOpenTxnId, minTxnIdSeenOpen);

Review comment:
       by mistake, restored




-- 
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: 697220)
    Time Spent: 3h  (was: 2h 50m)

> Non blocking DROP PARTITION implementation
> ------------------------------------------
>
>                 Key: HIVE-25688
>                 URL: https://issues.apache.org/jira/browse/HIVE-25688
>             Project: Hive
>          Issue Type: Task
>            Reporter: Denys Kuzmenko
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 3h
>  Remaining Estimate: 0h
>
> This changes the drop partition operation to asynchronous. The data files of 
> transactional tables will not be deleted, but a new truncated basefile will 
> be written, which is going to be later cleaned up by the Compactor/Cleaner.
> This along with a few other changes will enable us to not use read locks, 
> which provides perf boost to the transactional tables.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to