Hello Kudu Jenkins, Andrew Wong, Bankim Bhavsar,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/17129
to look at the new patch set (#2).
Change subject: KUDU-3248: Match C++ replica selection behavior of Java client
......................................................................
KUDU-3248: Match C++ replica selection behavior of Java client
The C++ client currently uses a new random value every time
a replica is selected. Alternatively, the Java client uses a static
value that ensure the selection for a single process or application
remains deterministic. This patch adjusts the C++ implimentation
to match the Java client behavior.
This is expected to be a good balance of efficient use of cache
memory and distribution of load across the replicas given a
single process will always get the same choice resulting in
cache hits for follow up scans, but seperate processes
will get a potentially different random selection.
The reviews on the Java patch here have some good context
and discussion: https://gerrit.cloudera.org/#/c/12158/
Change-Id: Iaa55e88b4a222fabfaa7fa521c24482cc6816b04
---
M java/kudu-client/src/main/java/org/apache/kudu/client/RemoteTablet.java
M src/kudu/client/client-internal.cc
M src/kudu/client/client-test.cc
M src/kudu/client/client.h
M src/kudu/common/common.proto
5 files changed, 84 insertions(+), 9 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/29/17129/2
--
To view, visit http://gerrit.cloudera.org:8080/17129
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Iaa55e88b4a222fabfaa7fa521c24482cc6816b04
Gerrit-Change-Number: 17129
Gerrit-PatchSet: 2
Gerrit-Owner: Grant Henke <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Bankim Bhavsar <[email protected]>
Gerrit-Reviewer: Grant Henke <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)