Andrew Wong has uploaded this change for review. ( http://gerrit.cloudera.org:8080/16124
Change subject: KUDU-2612 p4: mechanism to create a transaction status table ...................................................................... KUDU-2612 p4: mechanism to create a transaction status table This plumbs table type into the master, and exercises the code paths by adding a TxnSystemClient that can set the table type when creating tables (as opposed to KuduClient, which cannot send such requests). This patch adds the ability to create a transaction status table named "kudu_system.kudu_transactions", which foregoes authorization checks (though I left TODOs indicating that only the service user should be able to create this table) and HMS synchronization. This TxnSystemClient can be used by leader masters in the future to create the initial transaction status table, but for now is useful for testing the plumbing of table type. Change-Id: I29b9009fa228a7749295b50516991613a28d58fa --- M src/kudu/client/client.cc M src/kudu/client/client.h M src/kudu/client/table_creator-internal.h M src/kudu/integration-tests/CMakeLists.txt M src/kudu/integration-tests/master_authz-itest.cc M src/kudu/integration-tests/master_hms-itest.cc A src/kudu/integration-tests/txn_status_table-itest.cc M src/kudu/master/CMakeLists.txt M src/kudu/master/catalog_manager.cc M src/kudu/master/catalog_manager.h M src/kudu/master/master.proto M src/kudu/tablet/tablet_metadata.cc M src/kudu/transactions/CMakeLists.txt M src/kudu/transactions/txn_status_tablet.cc M src/kudu/transactions/txn_status_tablet.h A src/kudu/transactions/txn_system_client.cc A src/kudu/transactions/txn_system_client.h M src/kudu/tserver/tablet_service.cc 18 files changed, 430 insertions(+), 51 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/24/16124/1 -- To view, visit http://gerrit.cloudera.org:8080/16124 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I29b9009fa228a7749295b50516991613a28d58fa Gerrit-Change-Number: 16124 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Wong <[email protected]>
