Hello Tidy Bot, Alexey Serbin, Kudu Jenkins, I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/20607 to look at the new patch set (#2). Change subject: WIP KUDU-613: Scan Resistant Caching ...................................................................... WIP KUDU-613: Scan Resistant Caching This patch introduces a new class, the SLRU cache with two segments, the probationary and protected, to protect the cache from long/random reads. Looking for feedback on general approach for implementation so far. TODO: - Add tests - Add mutex when reading/writing from cache - Add metrics on SLRU cache level, both segments already have their own metrics - Add parameter for how hits on a cache entry until it's upgraded to protected segment - Use SLRU cache in BlockCache Change-Id: I45531534a2049dd38c002f4dc7982df9fd46e0bb --- M src/kudu/util/cache.cc M src/kudu/util/cache.h M src/kudu/util/nvm_cache.cc 3 files changed, 273 insertions(+), 3 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/07/20607/2 -- To view, visit http://gerrit.cloudera.org:8080/20607 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I45531534a2049dd38c002f4dc7982df9fd46e0bb Gerrit-Change-Number: 20607 Gerrit-PatchSet: 2 Gerrit-Owner: Mahesh Reddy <mre...@cloudera.com> Gerrit-Reviewer: Alexey Serbin <ale...@apache.org> Gerrit-Reviewer: Kudu Jenkins (120) Gerrit-Reviewer: Mahesh Reddy <mre...@cloudera.com> Gerrit-Reviewer: Tidy Bot (241)