Will Berkeley has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/11923 )

Change subject: [location_awareness] Assign locations to clients
......................................................................

[location_awareness] Assign locations to clients

This patch makes it so the client is assigned a location by each master
as part of the ConnectToMaster RPC (which is part of the
ConnectToCluster process). The client will store the location it is
assigned by the leader master and potentially update it every time it
reconnects to the cluster.

This assignment will be used in a follow-up to implement location-aware
semantics for CLOSEST_REPLICA scans.

Change-Id: I0efb327293d86168a30b05305f69d011ad15587a
Reviewed-on: http://gerrit.cloudera.org:8080/11923
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <[email protected]>
---
M src/kudu/client/CMakeLists.txt
M src/kudu/client/client-internal.cc
M src/kudu/client/client-internal.h
M src/kudu/client/client-test.cc
M src/kudu/client/client.cc
M src/kudu/client/client.h
M src/kudu/master/CMakeLists.txt
M src/kudu/master/master-test.cc
M src/kudu/master/master.proto
M src/kudu/master/master_service.cc
M src/kudu/master/ts_descriptor.cc
M src/kudu/master/ts_descriptor.h
12 files changed, 130 insertions(+), 13 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Adar Dembo: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/11923
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I0efb327293d86168a30b05305f69d011ad15587a
Gerrit-Change-Number: 11923
Gerrit-PatchSet: 10
Gerrit-Owner: Fengling Wang <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Fengling Wang <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Will Berkeley <[email protected]>

Reply via email to