Yuqi Du has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18877
Change subject: [client] Fix kudu cpp client bug using replica_selection policy ...................................................................... [client] Fix kudu cpp client bug using replica_selection policy At cpp client side, the replica_selection policy (LEADER_ONLY and CLOSEST_REPLICA) is not working. Eg command: 'kudu perf table_scan $master_list $table -columns=id,name -num_threads=4 -nofill_cache -replica_selection="LEADER"', the real replica_selection policy is CLOSEST_REPLICA, it's a bug. The patch fix the bug at client lib and add unit test. Change-Id: I413f99b6a0b6082c5453358b8333913e4c6264c2 --- M src/kudu/client/scan_configuration.cc M src/kudu/client/scan_token-internal.cc M src/kudu/client/scan_token-test.cc 3 files changed, 197 insertions(+), 7 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/77/18877/1 -- To view, visit http://gerrit.cloudera.org:8080/18877 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I413f99b6a0b6082c5453358b8333913e4c6264c2 Gerrit-Change-Number: 18877 Gerrit-PatchSet: 1 Gerrit-Owner: Yuqi Du <[email protected]>
