Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/12876
Change subject: [util] change signature of Cache::Allocate() ...................................................................... [util] change signature of Cache::Allocate() This patch changes the signature of the Cache::Allocate() and Cache::Insert() methods to be explicit on the ownership of the memory allocated behind Cache::PendingHandle. Change-Id: I2b0fa72060456b167b61a816f8abb9cd4c8f56b6 --- M src/kudu/cfile/block_cache.cc M src/kudu/cfile/block_cache.h M src/kudu/codegen/code_cache.cc M src/kudu/tools/kudu-tool-test.cc M src/kudu/util/cache-bench.cc M src/kudu/util/cache-test.cc M src/kudu/util/cache.cc M src/kudu/util/cache.h M src/kudu/util/file_cache.cc M src/kudu/util/nvm_cache.cc 10 files changed, 93 insertions(+), 77 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/76/12876/1 -- To view, visit http://gerrit.cloudera.org:8080/12876 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I2b0fa72060456b167b61a816f8abb9cd4c8f56b6 Gerrit-Change-Number: 12876 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
