[
https://issues.apache.org/jira/browse/HIVE-26735?focusedWorklogId=849271&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-849271
]
ASF GitHub Bot logged work on HIVE-26735:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/Mar/23 12:07
Start Date: 06/Mar/23 12:07
Worklog Time Spent: 10m
Work Description: veghlaci05 commented on code in PR #4077:
URL: https://github.com/apache/hive/pull/4077#discussion_r1126327682
##########
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java:
##########
@@ -1561,7 +1561,7 @@ public void commitTxn(CommitTxnRequest rqst) throws
NoSuchTxnException, TxnAbort
assert true;
}
- if (txnType != TxnType.READ_ONLY && !isReplayedReplTxn) {
+ if (txnType != TxnType.READ_ONLY && !isReplayedReplTxn && txnType !=
TxnType.REBALANCE_COMPACTION) {
Review Comment:
Normal compaction is not blocking (Uses SHARED_READ lock) so there is no
need for conflict detection. Rebalance compaction uses EXCL_WRITE lock, and the
records must not moved to the complete table in order to be able to detect
conflicting write attempts. This is required to force concurrent
updates/deletes to re-create their plan and use the new base/deltas containing
the changed ACID rows.
Issue Time Tracking
-------------------
Worklog Id: (was: 849271)
Time Spent: 4.5h (was: 4h 20m)
> Ability to sort the data during rebalancing compaction
> ------------------------------------------------------
>
> Key: HIVE-26735
> URL: https://issues.apache.org/jira/browse/HIVE-26735
> Project: Hive
> Issue Type: Sub-task
> Reporter: László Végh
> Assignee: László Végh
> Priority: Major
> Labels: pull-request-available
> Time Spent: 4.5h
> Remaining Estimate: 0h
>
> Ability to sort the data during rebalancing compaction
--
This message was sent by Atlassian Jira
(v8.20.10#820010)