ensure sync

Signed-off-by: Alex Chi <iskyzh@gmail.com>
This commit is contained in:
Alex Chi
2024-01-20 11:16:55 +08:00
parent b1458a66b2
commit 4928ececba
4 changed files with 39 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ pub use builder::BlockBuilder;
use bytes::{Buf, BufMut, Bytes};
pub use iterator::BlockIterator;
pub const SIZEOF_U16: usize = std::mem::size_of::<u16>();
pub(crate) const SIZEOF_U16: usize = std::mem::size_of::<u16>();
/// A block is the smallest unit of read and caching in LSM tree. It is a collection of sorted
/// key-value pairs.