From e0fd99400b4026ad1bfbfd064c997028e38bc502 Mon Sep 17 00:00:00 2001 From: Wen Kokke Date: Thu, 2 Jan 2025 11:06:45 +0000 Subject: [PATCH] fix comment --- src/Database/LSMTree/Internal/WriteBufferReader.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Database/LSMTree/Internal/WriteBufferReader.hs b/src/Database/LSMTree/Internal/WriteBufferReader.hs index 59f9e3ab2..5c158828b 100644 --- a/src/Database/LSMTree/Internal/WriteBufferReader.hs +++ b/src/Database/LSMTree/Internal/WriteBufferReader.hs @@ -61,8 +61,8 @@ readWriteBuffer reg resolve hfs hbio wbPaths = Empty -> pure acc ReadEntry key entry -> readEntriesAcc $ WB.addEntry resolve key (rawBlobRefSpan <$> toFullEntry entry) acc --- | Allows reading the k\/ops of a run incrementally, using its own read-only --- file handle and in-memory cache of the current disk page. +-- | Allows reading the k\/ops of a serialised write buffer incrementally, +-- using its own read-only file handle and in-memory cache of the current disk page. -- -- New pages are loaded when trying to read their first entry. data WriteBufferReader m h = WriteBufferReader {