From 21a8acdc7bc74ff6301a11aa36bb2831c704a461 Mon Sep 17 00:00:00 2001 From: evenyag Date: Tue, 26 Dec 2023 16:05:30 +0800 Subject: [PATCH] docs: update cache --- src/mito2/src/cache/write_cache.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mito2/src/cache/write_cache.rs b/src/mito2/src/cache/write_cache.rs index 576cccc49fd3..455e7c9e3057 100644 --- a/src/mito2/src/cache/write_cache.rs +++ b/src/mito2/src/cache/write_cache.rs @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -//! Cache files sent to remote object stores. +//! A write-through cache for remote object stores. use std::sync::Arc; @@ -33,7 +33,7 @@ use crate::wal::EntryId; /// A cache for uploading files to remote object stores. /// -/// It keeps files in local disk and sends files to object store in background. +/// It keeps files in local disk and then sends files to object stores. pub(crate) struct WriteCache { /// Local object storage to store files to upload. local_store: ObjectStore,