From 9fb1e02476476714580771619214dd272ced918b Mon Sep 17 00:00:00 2001 From: WenyXu Date: Tue, 14 May 2024 02:44:57 +0000 Subject: [PATCH] fix: fix potential deadlock --- src/log-store/src/raft_engine/backend.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/log-store/src/raft_engine/backend.rs b/src/log-store/src/raft_engine/backend.rs index a811d0910907..43ed638448f1 100644 --- a/src/log-store/src/raft_engine/backend.rs +++ b/src/log-store/src/raft_engine/backend.rs @@ -365,7 +365,6 @@ impl KvBackend for RaftEngineBackend { } batch.delete(SYSTEM_NAMESPACE, key); } - let engine = self.engine.read().unwrap(); engine .write(&mut batch, false) .context(RaftEngineSnafu)