aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoruzhastik <uzhas@ydb.tech>2024-01-23 20:15:35 +0300
committerGitHub <noreply@github.com>2024-01-23 20:15:35 +0300
commit20f72990b0b4d367b4dfd3c08aa953e2099077a4 (patch)
tree0988362f96e8e2fd7377ff7b830e1464d1b9d459
parentbd1b5745366f30bfe0768c57708a0dc7ab2f646f (diff)
downloadydb-20f72990b0b4d367b4dfd3c08aa953e2099077a4.tar.gz
improve switch (#1228)
-rw-r--r--ydb/core/util/cache_cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ydb/core/util/cache_cache.h b/ydb/core/util/cache_cache.h
index e60d79724a..f9a4333c5e 100644
--- a/ydb/core/util/cache_cache.h
+++ b/ydb/core/util/cache_cache.h
@@ -110,6 +110,7 @@ public:
case TCacheCacheConfig::CacheGenNone: // place in fresh
case TCacheCacheConfig::CacheGenEvicted: // corner case: was evicted from staging and touched in same update
AddToFresh(item, evictedList);
+ [[fallthrough]];
case TCacheCacheConfig::CacheGenFresh: // just update inside fresh
xitem->Unlink();
FreshList.PushFront(xitem);