David Ribeiro Alves has submitted this change and it was merged. Change subject: KUDU-1826 add propagated timestamp to sync client ......................................................................
KUDU-1826 add propagated timestamp to sync client Updating and getting the propagated timestamp only exist as functions of the AsyncKuduClient, but these functions are still useful to the KuduClient. This patch exposes AsyncKuduClient's updateLastPropagatedTimestamp() and getLastPropagatedTimestamp() to the KuduClient. The static value NO_TIMESTAMP is also added to the KuduClient so timestamps returned by KuduClient.getLastPropagatedTimestamp() can be compared with KuduClient.NO_TIMESTAMP. Change-Id: Ibbfeb9526423f5acd0ef6482869d36cdd146e921 Reviewed-on: http://gerrit.cloudera.org:8080/6798 Reviewed-by: David Ribeiro Alves <[email protected]> Tested-by: David Ribeiro Alves <[email protected]> --- M java/kudu-client/src/main/java/org/apache/kudu/client/AsyncKuduClient.java M java/kudu-client/src/main/java/org/apache/kudu/client/KuduClient.java M java/kudu-client/src/test/java/org/apache/kudu/client/TestKuduClient.java M java/kudu-client/src/test/java/org/apache/kudu/client/TestScannerMultiTablet.java 4 files changed, 67 insertions(+), 5 deletions(-) Approvals: David Ribeiro Alves: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/6798 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ibbfeb9526423f5acd0ef6482869d36cdd146e921 Gerrit-PatchSet: 9 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Andrew Wong <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: David Ribeiro Alves <[email protected]>
