You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "mahesh kumar behera (JIRA)" <ji...@apache.org> on 2018/02/11 18:20:00 UTC

[jira] [Created] (HIVE-18679) create/replicate open transaction event

mahesh kumar behera created HIVE-18679:
------------------------------------------

             Summary: create/replicate open transaction event
                 Key: HIVE-18679
                 URL: https://issues.apache.org/jira/browse/HIVE-18679
             Project: Hive
          Issue Type: Bug
          Components: repl, Transactions
    Affects Versions: 3.0.0
            Reporter: mahesh kumar behera
            Assignee: mahesh kumar behera
             Fix For: 3.0.0


*EVENT_OPEN_TXN:*
*Source Warehouse:*
 - Create new event type EVENT_OPEN_TXN with related message format etc.
 - When any transaction is opened either by auto-commit mode or multi-statement mode, need to capture this event.
 - Repl dump should read this event from EventNotificationTable and dump the message.

*Target Warehouse:*
 - Repl load should read the event from the dump and get the message.
 - Open a txn in target warehouse.
 - Create a map of source txn ID against target txn ID and persist the same in metastore. There should be one map per replication policy (DBName.* incase of DB level replication, DBName.TableName incase of table level replication)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)