diff --git a/mini-lsm-mvcc/src/lsm_storage.rs b/mini-lsm-mvcc/src/lsm_storage.rs index ad7022c..10f918b 100644 --- a/mini-lsm-mvcc/src/lsm_storage.rs +++ b/mini-lsm-mvcc/src/lsm_storage.rs @@ -173,7 +173,7 @@ pub struct MiniLsm { pub(crate) inner: Arc, /// Notifies the L0 flush thread to stop working. (In week 1 day 6) flush_notifier: crossbeam_channel::Sender<()>, - /// The handle for the compaction thread. (In week 1 day 6) + /// The handle for the flush thread. (In week 1 day 6) flush_thread: Mutex>>, /// Notifies the compaction thread to stop working. (In week 2) compaction_notifier: crossbeam_channel::Sender<()>, diff --git a/mini-lsm-starter/src/lsm_storage.rs b/mini-lsm-starter/src/lsm_storage.rs index 94c646f..e99fec5 100644 --- a/mini-lsm-starter/src/lsm_storage.rs +++ b/mini-lsm-starter/src/lsm_storage.rs @@ -137,7 +137,7 @@ pub struct MiniLsm { pub(crate) inner: Arc, /// Notifies the L0 flush thread to stop working. (In week 1 day 6) flush_notifier: crossbeam_channel::Sender<()>, - /// The handle for the compaction thread. (In week 1 day 6) + /// The handle for the flush thread. (In week 1 day 6) flush_thread: Mutex>>, /// Notifies the compaction thread to stop working. (In week 2) compaction_notifier: crossbeam_channel::Sender<()>, diff --git a/mini-lsm/src/lsm_storage.rs b/mini-lsm/src/lsm_storage.rs index 7b59122..19d3c64 100644 --- a/mini-lsm/src/lsm_storage.rs +++ b/mini-lsm/src/lsm_storage.rs @@ -174,7 +174,7 @@ pub struct MiniLsm { pub(crate) inner: Arc, /// Notifies the L0 flush thread to stop working. (In week 1 day 6) flush_notifier: crossbeam_channel::Sender<()>, - /// The handle for the compaction thread. (In week 1 day 6) + /// The handle for the flush thread. (In week 1 day 6) flush_thread: Mutex>>, /// Notifies the compaction thread to stop working. (In week 2) compaction_notifier: crossbeam_channel::Sender<()>,