GitHub user maheshk114 opened a pull request:

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

    Create/Replicate AllocWriteId Event

    EVENT_ALLOCATE_WRITE_ID
    Source Warehouse:
    
    Create new event type EVENT_ALLOCATE_WRITE_ID with related message format 
etc.
    Capture this event when allocate a table write ID from the sequence table 
by ACID operation.
    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 Allocate table write ID from sequence table
    Extend listener notify event API to add two new parameter , dbconn and 
sqlgenerator to add the events to notification_log table within the same 
transaction 

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

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

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

    https://github.com/apache/hive/pull/329.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 #329
    
----
commit 7e3458b2d707bdb9606cc1a6f09a15193eb00613
Author: Mahesh Kumar Behera <mbehera@...>
Date:   2018-02-12T05:07:01Z

    HIVE-19089: Create/Replicate AllocWriteId Event

commit 54f783aff364f0c30ac859e0190573e3f7eee456
Author: Mahesh Kumar Behera <mbehera@...>
Date:   2018-04-03T03:02:52Z

    HIVE-19089: Added new API to notify event with connection and sqlgenerator 
parameter

----


---

Reply via email to