tmddlrequests.h

Clone Tools
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
DDL Tx, Changes to handle upsert using load operations on abort

SQL statements 'upsert using load' will be executed outside of a

transaction even though the operation can performed inside a

transaction. For this reason, it is necessary for us to handle this

data differently when a transaction aborts or fails.

These operations will be registered as part of the TmDDL manager

and if the transaction is aborted, that table gets truncated. The data

loaded will be deleted but table will still exist. At the moment, this is

handled by using disable, delete and create hbase methods. However, when

hbase is upgraded to the next version, we will use the truncate hbase

method option.

Change-Id: Ica9d81a284b5f1821a3048b9c8deaad449a4c4f4

  1. … 17 more files in changeset.
Transactional DDL - Salted Tables functionality

Added salted table functionality to transactional DDL create

It currently works with large numbers of table partitions and large

key lengths.

Change-Id: Ia5d9113678d697fdcd9f60021fc2dd3eb18fda0f

  1. … 22 more files in changeset.
Transactional DDL, Drop Table functionality

Added Transactional DDL, Drop Table functionality from SQL side to the

TransactionManager in the TM java side.

Code has been tested with create table/drop table flow with sqlci.

Change-Id: I3fc7d8cf395cd2ae06884c92d1d0c583a3100ea9

  1. … 15 more files in changeset.
Phase5-DDLTransactions, SQL and TM changes

Changes in TM and JNI to pass transid and table name

Changes in SQL to accept create ddl request within a transaction

Change-Id: Id35c42c71822d7731c85bb3339d4014ac1cb0572

  1. … 10 more files in changeset.
PHASE3&4- Transactional DDL - TM, RM, TMlib and JNI changes for create

RM changes to accept SQL requests

JNI changes for RM java to communicate with TMlib cpp

TMlib changes to accepts different DDL requests and send messages to TM

Changes in TMcpp side to receive ddl create request

Changes in tmmsg header to receive multiple types of ddl requests

JNI changes to pass 'createTable' requests from TMcpp to Tmjava side

Change-Id: I2e30c57298111293dc91bae7deeb44b92be0e9c1

  1. … 19 more files in changeset.