Hello Kudu Jenkins, Andrew Wong, Grant Henke, Hao Hao,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/16967

to look at the new patch set (#4).

Change subject: KUDU-2612 keep-alive txn heartbeating for Java client
......................................................................

KUDU-2612 keep-alive txn heartbeating for Java client

This patch adds keep-alive txn heartbeating into the Kudu Java client.

The txn keepalive heartbeating is performed automatically by the client,
and no API is exposed to send keep-alive messages for a transaction.
The txn keepalive heartbeating continues until the original
auto-closeable transaction handle (i.e. the handle created by
KuduClient.newTransaction()) goes out of scope or the
KuduTransaction.close() method called explicitly.

Overall, the keepalive heartbeating behavior in the Kudu Java client
mirrors the behavior of its C++ counterpart.

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

Change-Id: I6326a5452223d8173b2da004bb5f3ab0c1e6ae4e
---
M 
java/kudu-client/src/main/java/org/apache/kudu/client/BeginTransactionRequest.java
A 
java/kudu-client/src/main/java/org/apache/kudu/client/KeepTransactionAliveRequest.java
A 
java/kudu-client/src/main/java/org/apache/kudu/client/KeepTransactionAliveResponse.java
M java/kudu-client/src/main/java/org/apache/kudu/client/KuduTransaction.java
M java/kudu-client/src/test/java/org/apache/kudu/client/TestKuduTransaction.java
5 files changed, 497 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/67/16967/4
--
To view, visit http://gerrit.cloudera.org:8080/16967
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I6326a5452223d8173b2da004bb5f3ab0c1e6ae4e
Gerrit-Change-Number: 16967
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <aser...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Grant Henke <granthe...@apache.org>
Gerrit-Reviewer: Hao Hao <hao....@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to