From 1408487ada4bd7cae87ed80bda8afccb77e12d0d Mon Sep 17 00:00:00 2001 From: evenyag Date: Fri, 29 Dec 2023 00:31:36 +0800 Subject: [PATCH] feat: expose cache file path --- src/mito2/src/cache/file_cache.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mito2/src/cache/file_cache.rs b/src/mito2/src/cache/file_cache.rs index a0beb83bcb1d..843cb63eaa2e 100644 --- a/src/mito2/src/cache/file_cache.rs +++ b/src/mito2/src/cache/file_cache.rs @@ -96,9 +96,9 @@ impl FileCache { } } - /// Puts a file into the cache. + /// Puts a file into the cache index. /// - /// Callers should ensure the file is in the correct path. + /// The `WriteCache` should ensure the file is in the correct path. pub(crate) async fn put(&self, key: IndexKey, value: IndexValue) { CACHE_BYTES .with_label_values(&[FILE_TYPE])