From 2015ee17032b551d964b5f9fbb8d1ff2165673de Mon Sep 17 00:00:00 2001 From: Yongxin-Hu <39091543+Yongxin-Hu@users.noreply.github.com> Date: Sun, 17 Mar 2024 01:04:12 +0800 Subject: [PATCH] fix: typo (#61) --- mini-lsm-mvcc/src/lsm_storage.rs | 2 +- mini-lsm-starter/src/lsm_storage.rs | 2 +- mini-lsm/src/lsm_storage.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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<()>,