Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/16779


Change subject: WIP KUDU-2612 keep-alive txn heartbeating for C++ client
......................................................................

WIP KUDU-2612 keep-alive txn heartbeating for C++ client

This patch adds keep-alive txn heartbeating into the Kudu C++ client.
The txn heartbeating is performed automatically by the client, and
no API is exposed to send keep-alive messages for the transaction.
The txn heartbeating continues until the smart pointer wrapper for
KuduTransaction goes out of scope.

This patch also contains a couple of test scenarios to cover the
newly introduced functionality.

WIP:
  * collect feedback on this approach:
      ** do we need an API to send explicitly send keep-alive messages
         for the transaction?
      ** other thoughts
  * add more tests

Change-Id: I0283d8e16908f641388f7a30b513a672df27a186
---
M src/kudu/client/client-test.cc
M src/kudu/client/client.cc
M src/kudu/client/client.h
M src/kudu/client/transaction-internal.cc
M src/kudu/client/transaction-internal.h
M src/kudu/client/txn_manager_proxy_rpc.cc
M src/kudu/integration-tests/txn_status_manager-itest.cc
7 files changed, 301 insertions(+), 20 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/79/16779/1
--
To view, visit http://gerrit.cloudera.org:8080/16779
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0283d8e16908f641388f7a30b513a672df27a186
Gerrit-Change-Number: 16779
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to