You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Yuqi Du (Code Review)" <ge...@cloudera.org> on 2022/08/21 04:43:34 UTC

[kudu-CR] [client] Fix a kudu cpp client bug when using replica selection policy

Hello Kudu Jenkins, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/18877

to look at the new patch set (#2).

Change subject: [client] Fix a kudu cpp client bug when using replica_selection policy
......................................................................

[client] Fix a kudu cpp client bug when 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/2
-- 
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: newpatchset
Gerrit-Change-Id: I413f99b6a0b6082c5453358b8333913e4c6264c2
Gerrit-Change-Number: 18877
Gerrit-PatchSet: 2
Gerrit-Owner: Yuqi Du <sh...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)