[
https://issues.apache.org/jira/browse/HIVE-26265?focusedWorklogId=784063&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-784063
]
ASF GitHub Bot logged work on HIVE-26265:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 23/Jun/22 07:15
Start Date: 23/Jun/22 07:15
Worklog Time Spent: 10m
Work Description: pvary commented on code in PR #3365:
URL: https://github.com/apache/hive/pull/3365#discussion_r904661331
##########
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/ReplicationTestUtils.java:
##########
@@ -534,7 +540,7 @@ public static void
assertFalseExternalFileList(WarehouseInstance warehouseInstan
}
public static void assertExternalFileList(List<String> expected, String
dumplocation,
- WarehouseInstance
warehouseInstance) throws IOException {
+ WarehouseInstance
warehouseInstance) throws IOException, Exception {
Review Comment:
why is this change?
Issue Time Tracking
-------------------
Worklog Id: (was: 784063)
Time Spent: 1h 40m (was: 1.5h)
> REPL DUMP should filter out OpenXacts and unneeded CommitXact/Abort.
> --------------------------------------------------------------------
>
> Key: HIVE-26265
> URL: https://issues.apache.org/jira/browse/HIVE-26265
> Project: Hive
> Issue Type: Improvement
> Components: HiveServer2
> Reporter: francis pang
> Assignee: francis pang
> Priority: Major
> Labels: pull-request-available
> Time Spent: 1h 40m
> Remaining Estimate: 0h
>
> REPL DUMP is replication all OpenXacts, even when they are from other non
> replicated databases. This wastes space in the dump, and ends up opening
> unneeded transactions during REPL LOAD.
>
> Add a config property for replication that filters out OpenXact events during
> REPL DUMP. During REPL LOAD, the txns can be implicitly opened when the
> ALLOC_WRITE_ID is processed. For CommitTxn and AbortTxn, dump only if WRITE
> ID was allocated.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)