GitHub user maheshk114 opened a pull request:

    https://github.com/apache/hive/pull/311

    Bug 95522

    Create/Replicate Abort Txn event
    
    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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/maheshk114/hive BUG-95522

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/hive/pull/311.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #311
    
----
commit 4a855de860ccec6e37e4c16ebbddee575e9ae2f2
Author: Mahesh Kumar Behera <mbehera@...>
Date:   2018-02-12T05:07:01Z

    HIVE-18679 : create/replicate open transaction event

commit c745a4066b31075004b96200da079b4dd4fd2743
Author: Mahesh Kumar Behera <mbehera@...>
Date:   2018-02-12T14:29:54Z

    HIVE-18679 : create/replicate open transaction event : rebased with Alan's 
change

commit a69396a2544aeb9b1c784c350f07fb1856f4ef84
Author: Mahesh Kumar Behera <mbehera@...>
Date:   2018-02-19T04:42:37Z

    HIVE-18679 : create/replicate open transaction event : After Sankar's 
review comment fix

commit 9d1e910e586beb42f255716ee447e2cd5bfd79c2
Author: Mahesh Kumar Behera <mbehera@...>
Date:   2018-02-22T03:58:43Z

    HIVE-18679 : create/replicate open transaction event : After Sankar's 
review comment fix

commit ce047ed1aacc03af2f25e6a13a48c12d20b0fb2b
Author: Mahesh Kumar Behera <mbehera@...>
Date:   2018-02-14T15:56:51Z

    HIVE-18720 : Replicate Commit Txn operation (without writes)

commit f8734c754d7603ba102fbe6f4556f1d7384599a5
Author: Mahesh Kumar Behera <mbehera@...>
Date:   2018-02-14T15:56:51Z

    HIVE-18720 : Replicate Commit Txn operation (without writes)

commit 72a77640acaef1e6979cc869914f04f64db0e548
Author: Mahesh Kumar Behera <mbehera@...>
Date:   2018-02-16T06:10:07Z

    HIVE-18781: Create/Replicate Abort Txn event

----


---

Reply via email to