diff --git a/memstore/Cargo.toml b/memstore/Cargo.toml
index 45fa8df4d..2cfb9428a 100644
--- a/memstore/Cargo.toml
+++ b/memstore/Cargo.toml
@@ -14,7 +14,7 @@ license = { workspace = true }
repository = { workspace = true }
[dependencies]
-openraft = { path= "../openraft", version = "0.8.4", features=["serde"] }
+openraft = { path= "../openraft", version = "0.8.4", features=["serde", "bt"] }
serde = { workspace = true }
serde_json = { workspace = true }
diff --git a/memstore/src/lib.rs b/memstore/src/lib.rs
index 9d7a079d2..cc6f10740 100644
--- a/memstore/src/lib.rs
+++ b/memstore/src/lib.rs
@@ -115,6 +115,8 @@ pub enum BlockOperation {
pub struct MemStore {
last_purged_log_id: RwLock