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

[jira] [Updated] (HIVE-18781) Create/Replicate Abort Txn event

     [ https://issues.apache.org/jira/browse/HIVE-18781?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

mahesh kumar behera updated HIVE-18781:
---------------------------------------
    Attachment: HIVE-18781.02.patch

> Create/Replicate Abort Txn event
> --------------------------------
>
>                 Key: HIVE-18781
>                 URL: https://issues.apache.org/jira/browse/HIVE-18781
>             Project: Hive
>          Issue Type: Task
>          Components: repl, Transactions
>    Affects Versions: 3.0.0
>            Reporter: mahesh kumar behera
>            Assignee: mahesh kumar behera
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: HIVE-18781.01.patch, HIVE-18781.02.patch
>
>
> *EVENT_ABORT_TXN*
> Source Warehouse:
>  - Create new event type EVENT_ABORT_TXN with related message format etc.
>  - Capture this event when abort the txn.
>  - 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.
>  - Validate if source txn ID from the event is there in the source-target txn ID map. If not there, just noop the event.
>  - If valid, then Abort the corresponding target txn and remove the entry from source-target txn ID map.
> All these new events should be idempotent such that if it is applied twice, then second time it should be noop.



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