Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/12634 )

Change subject: [master] introduce cache for location mapping assignments
......................................................................

[master] introduce cache for location mapping assignments

This changelist adds a very primitive cache for location assignments.
The cache does not prevent running multiple commands for the same
location key if an entry is not present in the cache.

A unit test is also added.

Change-Id: Icb5c436c9433acd87c44c4d81982420f33ebb4a4
Reviewed-on: http://gerrit.cloudera.org:8080/12634
Reviewed-by: Will Berkeley <[email protected]>
Tested-by: Kudu Jenkins
---
M src/kudu/master/CMakeLists.txt
A src/kudu/master/location_cache-test.cc
A src/kudu/master/location_cache.cc
A src/kudu/master/location_cache.h
4 files changed, 421 insertions(+), 0 deletions(-)

Approvals:
  Will Berkeley: Looks good to me, approved
  Kudu Jenkins: Verified

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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Icb5c436c9433acd87c44c4d81982420f33ebb4a4
Gerrit-Change-Number: 12634
Gerrit-PatchSet: 4
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Will Berkeley <[email protected]>

Reply via email to