@@ -19,7 +19,7 @@ use crate::wal::Wal;
|
||||
/// An initial implementation of memtable is part of week 1, day 1. It will be incrementally implemented in other
|
||||
/// chapters of week 1 and week 2.
|
||||
pub struct MemTable {
|
||||
map: Arc<SkipMap<KeyBytes, Bytes>>,
|
||||
pub(crate) map: Arc<SkipMap<KeyBytes, Bytes>>,
|
||||
wal: Option<Wal>,
|
||||
id: usize,
|
||||
approximate_size: Arc<AtomicUsize>,
|
||||
|
||||
Reference in New Issue
Block a user