Yuqi Du has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18766
Change subject: WIP [tserver] support strong consisitency read from followers ...................................................................... WIP [tserver] support strong consisitency read from followers Java client has supported LeaderOnly and Closest Replica selective stretegy. Closest Replica can reduce brandwidth cost but exist consistency problem. The patch support strong consisitency read, read followers just like read leaders by anther request(GetLastOpIdRequestPB) to leader and get the last committed opid at leader, and wait local replica reach the opid, and then start read data. Change-Id: If273c89db2185813e7f4507871be75a4af7d5e29 --- M src/kudu/common/common.proto M src/kudu/consensus/consensus.proto M src/kudu/consensus/consensus_peers.cc M src/kudu/consensus/consensus_peers.h M src/kudu/consensus/raft_consensus.cc M src/kudu/consensus/raft_consensus.h M src/kudu/tserver/tablet_service.cc M src/kudu/tserver/tserver.proto 8 files changed, 111 insertions(+), 0 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/66/18766/1 -- To view, visit http://gerrit.cloudera.org:8080/18766 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: If273c89db2185813e7f4507871be75a4af7d5e29 Gerrit-Change-Number: 18766 Gerrit-PatchSet: 1 Gerrit-Owner: Yuqi Du <[email protected]>
