Alexey Serbin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/12619


Change subject: [master] cache locations assigned to clients
......................................................................

[master] cache locations assigned to clients

This changelist adds a very primitive caching of the client location
to master.  The cache does not prevent running multiple commands
for the same location key if an entry is not present in the cache.
The idea is that we should not expect ConnectToCluster requests
from the same node running concurrently.

More advanced cache that takes care of the thundering herd pattern
is in the works, but I decided to put up this simple one having
the timeline for the 1.9 release in mind.

Change-Id: I12c8952c43a8ad352acd46c8006824b2ad9d1204
---
M src/kudu/master/CMakeLists.txt
A src/kudu/master/location_cache.cc
A src/kudu/master/location_cache.h
M src/kudu/master/master.h
M src/kudu/master/master_service.cc
5 files changed, 120 insertions(+), 8 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/19/12619/1
--
To view, visit http://gerrit.cloudera.org:8080/12619
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I12c8952c43a8ad352acd46c8006824b2ad9d1204
Gerrit-Change-Number: 12619
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>

Reply via email to