Hao Hao has uploaded this change for review. ( http://gerrit.cloudera.org:8080/8804
Change subject: KUDU-1704: add BOUNDED_READ scan mode ...................................................................... KUDU-1704: add BOUNDED_READ scan mode This patch adds a new read mode BOUNDED_READ on tserver. In this mode, the server will pick an arbitrarily snapshot in the past, subject to the propagated timestamp bound, and perform a read. Moreover, the chosen snapshot timestamp is not returned back to the client. The major difference between READ_AT_SNAPSHOT scan without a timestamp and BOUNDED_READ scan is the latter will choose the newest timestamp within the staleness bound that allows execution of the reads without blocking by the in-flight transactions. BOUNDED_READ mode is not repeatable. However, it allows client local read-your-writes. Change-Id: I84ddb981a1a0f199d4e66f5d5097318f8c785a48 --- M src/kudu/common/common.proto M src/kudu/tserver/tablet_server-test.cc M src/kudu/tserver/tablet_service.cc M src/kudu/tserver/tablet_service.h 4 files changed, 220 insertions(+), 37 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/04/8804/1 -- To view, visit http://gerrit.cloudera.org:8080/8804 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I84ddb981a1a0f199d4e66f5d5097318f8c785a48 Gerrit-Change-Number: 8804 Gerrit-PatchSet: 1 Gerrit-Owner: Hao Hao <[email protected]>
