You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "anishek (JIRA)" <ji...@apache.org> on 2017/12/01 06:22:00 UTC

[jira] [Created] (HIVE-18192) Introduce WriteId per table rather than using global transaction id

anishek created HIVE-18192:
------------------------------

             Summary: Introduce WriteId per table rather than using global transaction id
                 Key: HIVE-18192
                 URL: https://issues.apache.org/jira/browse/HIVE-18192
             Project: Hive
          Issue Type: Bug
          Components: HiveServer2, Transactions
    Affects Versions: 3.0.0
            Reporter: anishek
            Assignee: anishek
             Fix For: 3.0.0


To support ACID replication, we will be introducing a per table write Id which will replace the transaction id in the primary key for each row in a ACID table. 

The current primary key is determined via 
<original transaction id, bucketid , rowid>

which will move to 
<write id, bucketid, rowid>

a persistable map of global txn id -> to table -> write id for that table has to be maintained to now allow Snapshot isolation.




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)