Andrew Wong has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/16043 )
Change subject: KUDU-2612 p1: add initial transaction status storage ...................................................................... KUDU-2612 p1: add initial transaction status storage This adds a system tablet storage API for storing the status of transactions, in the form of the newly added TxnStatusTablet which is a wrapper around a TabletReplica with a schema tailored for storing transaction metadata. The abstraction is comparable to the SysCatalogTable abstraction used by the master to store metadata about the Kudu catalog, but rather than storing metadata about tables and tablets, the TxnStatusTablet stores metadata about transactions and transaction participants. Partitioning isn't addressed in this patch, but I'm expecting later patches to allow for the creation of partitioned transaction status tables, and having the individual tablet replicas of that table be accessed via this TxnStatusTablet API. This patch only introduces the schema, basic write calls, and scan calls to be used by a transaction management entity to be added in a later patch. There is currently no way to create or define partitions for TxnStatusTablets on tablet servers. Change-Id: I94ddbd37c65932120835d6e138307f819935173c Reviewed-on: http://gerrit.cloudera.org:8080/16043 Reviewed-by: Attila Bukor <[email protected]> Reviewed-by: Alexey Serbin <[email protected]> Tested-by: Andrew Wong <[email protected]> --- M CMakeLists.txt M src/kudu/tablet/tablet.cc M src/kudu/tablet/tablet.h A src/kudu/transactions/CMakeLists.txt A src/kudu/transactions/transactions.proto A src/kudu/transactions/txn_status_tablet-test.cc A src/kudu/transactions/txn_status_tablet.cc A src/kudu/transactions/txn_status_tablet.h 8 files changed, 871 insertions(+), 1 deletion(-) Approvals: Attila Bukor: Looks good to me, approved Alexey Serbin: Looks good to me, approved Andrew Wong: Verified -- To view, visit http://gerrit.cloudera.org:8080/16043 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I94ddbd37c65932120835d6e138307f819935173c Gerrit-Change-Number: 16043 Gerrit-PatchSet: 12 Gerrit-Owner: Andrew Wong <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Attila Bukor <[email protected]> Gerrit-Reviewer: Bankim Bhavsar <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Tidy Bot (241)
