From dd15b7df7f86feb22f68926fc42803f7d2718123 Mon Sep 17 00:00:00 2001 From: Pere Diaz Bou Date: Thu, 29 May 2025 14:08:20 +0200 Subject: [PATCH] remove dumb comment from pagecachekey --- core/storage/page_cache.rs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/storage/page_cache.rs b/core/storage/page_cache.rs index bf5d96611..344280fe1 100644 --- a/core/storage/page_cache.rs +++ b/core/storage/page_cache.rs @@ -7,13 +7,6 @@ use super::pager::PageRef; const DEFAULT_PAGE_CACHE_SIZE_IN_PAGES: usize = 2000; -// In limbo, page cache is shared by default, meaning that multiple frames from WAL can reside in -// the cache, meaning, we need a way to differentiate between pages cached in different -// connections. For this we include the max_frame that a connection will read from so that if two -// connections have different max_frames, they might or not have different frame read from WAL. -// -// WAL was introduced after Shared cache in SQLite, so this is why these two features don't work -// well together because pages with different snapshots may collide. #[derive(Debug, Eq, Hash, PartialEq, Clone)] pub struct PageCacheKey { pgno: usize,