Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/16495
Change subject: WIP KUDU-2612 p2 (b): add transaction status retrieval ...................................................................... WIP KUDU-2612 p2 (b): add transaction status retrieval After offline discussions with Andrew, it became clear that TxnManager should provide an asynchronous interface to commit a transaction, i.e. something similar to CreateTable()/IsCreateTableDone(). To implement that, the TxnManager needs to check for the status of the transaction after initiating the commit phase by issuing corresponding call to TxnStatusManager (that's implemented as CoordinateTransaction() RPC to TabletServerAdminService with BEGIN_COMMIT_TXN operation type). This patch introduces the required server-side piece to retrieve the information on a transaction status from the TxnStatusManager. This is a follow-up to efd8c4f165460b7fa337b8ebd1856b10bc274311. WIP: * I'd like to get some feedback on this approach * add tests into the TxnStatusManagerTest suite Change-Id: I45f099d943f2b7955d6d561a1cb883343c7b79a4 --- M src/kudu/tablet/txn_coordinator.h M src/kudu/transactions/CMakeLists.txt M src/kudu/transactions/txn_status_manager.cc M src/kudu/transactions/txn_status_manager.h M src/kudu/transactions/txn_status_tablet.h M src/kudu/tserver/CMakeLists.txt M src/kudu/tserver/tablet_service.cc M src/kudu/tserver/tserver_admin.proto 8 files changed, 56 insertions(+), 8 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/95/16495/1 -- To view, visit http://gerrit.cloudera.org:8080/16495 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I45f099d943f2b7955d6d561a1cb883343c7b79a4 Gerrit-Change-Number: 16495 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
