mahesh kumar behera created HIVE-18720:

             Summary: Replicate Commit Txn operation (without writes)
                 Key: HIVE-18720
             Project: Hive
          Issue Type: Task
          Components: repl, Transactions
    Affects Versions: 3.0.0
            Reporter: mahesh kumar behera
            Assignee: mahesh kumar behera
             Fix For: 3.0.0

Add new EVENT_COMMIT_TXN to log the metadata/data of all tables/partitions 
modified within the txn.

*Source warehouse:*
 - Create EVENT_COMMIT_TXN event type with corresponding message format etc.

*Target warehouse:*
 - Repl load should read this event from the dump.
 - Validate the source txn ID from the event using the Source-Target Txn ID map 
maintained in target metastore. Also, need to check if corresponding target txn 
ID is valid.
 - If valid, then apply the event and commit the corresponding target 
 - This new event should be idempotent such that if it is applied twice, then 
second time it should be loop.


This message was sent by Atlassian JIRA

Reply via email to