forked from acceldata-io/kudu
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[client] Fix a kudu c++ client bug when using replica_selection policy
At c++ 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"', but the real replica_selection policy is CLOSEST_REPLICA. The patch fixes the bug in client library and adds unit tests. Change-Id: I413f99b6a0b6082c5453358b8333913e4c6264c2 Reviewed-on: http://gerrit.cloudera.org:8080/18877 Reviewed-by: Yuqi Du <[email protected]> Tested-by: Kudu Jenkins Reviewed-by: Yifan Zhang <[email protected]>
- Loading branch information
1 parent
c1ff2fd
commit 43ba101
Showing
5 changed files
with
176 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters