impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew Jacobs (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-3788: Support for Kudu 'read-your-writes' consistency
Date Wed, 26 Oct 2016 00:57:39 GMT
Matthew Jacobs has uploaded a new patch set (#4).

Change subject: IMPALA-3788: Support for Kudu 'read-your-writes' consistency

IMPALA-3788: Support for Kudu 'read-your-writes' consistency

Kudu provides an API to get/set a 'latest observed
timestamp' on clients to allow a client which inserts to
capture and send this timestamp to another client before a
read to ensure that data as of that timestamp is visible.
This adds support for this feature _for reads within a
session_ by capturing the latest observed timestamp when the
KuduTableSink is sending its last update to the coordinator.
The timestamp is sent with other post-write information, and
is aggregated (i.e. taking the max) at the coordinator. The
max is stored in the session, and that value is then set in
the Kudu client on future scans.

This is being tested by running the Kudu tests after
removing delays that were introduced to work around the
issue that reads might not be visible after a write. Before
this change, if there were no delay, inconsistent results
could be returned.

Change-Id: I6bcb5fc218ad4ab935343a55b2188441d8c7dfbd
M be/src/exec/
M be/src/exec/
M be/src/runtime/
M be/src/runtime/coordinator.h
M be/src/service/
M be/src/service/
M be/src/service/impala-server.h
M be/src/service/
M common/thrift/ImpalaInternalService.thrift
M tests/common/
M tests/query_test/
11 files changed, 51 insertions(+), 7 deletions(-)

  git pull ssh:// refs/changes/79/4779/4
To view, visit
To unsubscribe, visit

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I6bcb5fc218ad4ab935343a55b2188441d8c7dfbd
Gerrit-PatchSet: 4
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Matthew Jacobs <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Matthew Jacobs <>

View raw message