From d95e13e9cc23fde91cee26283de3289bda10c1ab Mon Sep 17 00:00:00 2001 From: "ehds@qq.com" Date: Tue, 1 Mar 2022 10:57:09 -0800 Subject: [PATCH] typo(clock_cache) fix incomplete message typo (#9638) Summary: `LRU` should be `CLOCK`. Pull Request resolved: https://github.com/facebook/rocksdb/pull/9638 Reviewed By: mrambacher Differential Revision: D34523550 Pulled By: jay-zhuang fbshipit-source-id: ca06ada1aac45d3707016c1590541287dab6ef79 --- cache/clock_cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cache/clock_cache.cc b/cache/clock_cache.cc index c8518f334..3c1a1cf5f 100644 --- a/cache/clock_cache.cc +++ b/cache/clock_cache.cc @@ -687,7 +687,7 @@ Status ClockCacheShard::Insert(const Slice& key, uint32_t hash, void* value, Status s; if (out_handle != nullptr) { if (handle == nullptr) { - s = Status::Incomplete("Insert failed due to LRU cache being full."); + s = Status::Incomplete("Insert failed due to CLOCK cache being full."); } else { *out_handle = reinterpret_cast(handle); }