Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/17902
Change subject: [master] update on max_returned_locations semantics ...................................................................... [master] update on max_returned_locations semantics While looking at the partition-related code, I noticed that GetTableLocations RPC requires the 'max_returned_locations' field to be always set, even if it's necessary to fetch information on all tablets in a table. This patch updates the implementation of the GetTableLocations RPC to output information on every tablet in a table if the GetTableLocationsRequestPB::max_returned_locations field isn't set. This patch also contains a unit test for the new functionality. Change-Id: Iebc2b2295576c0b1b637fdeb95d4f9ff7b4d51c7 --- M src/kudu/integration-tests/create-table-stress-test.cc M src/kudu/integration-tests/table_locations-itest.cc M src/kudu/master/catalog_manager-test.cc M src/kudu/master/catalog_manager.cc 4 files changed, 63 insertions(+), 6 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/02/17902/1 -- To view, visit http://gerrit.cloudera.org:8080/17902 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Iebc2b2295576c0b1b637fdeb95d4f9ff7b4d51c7 Gerrit-Change-Number: 17902 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
