Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18320 Support ACID Tables Replication
  3. HIVE-18679

create/replicate open transaction event

    XMLWordPrintableJSON

Details

    Description

      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)

      Attachments

        1. HIVE-18679.01.patch
          80 kB
          mahesh kumar behera

        Issue Links

          Activity

            People

              maheshk114 mahesh kumar behera
              maheshk114 mahesh kumar behera
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: