You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "francis pang (Jira)" <ji...@apache.org> on 2022/05/25 19:02:00 UTC

[jira] [Created] (HIVE-26265) REPL DUMP should filter out OpenXacts and unneeded CommitXact/Abort.

francis pang created HIVE-26265:
-----------------------------------

             Summary: 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


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)