Skip to content

Commit

Permalink
fix: potential deadlock (#3930)
Browse files Browse the repository at this point in the history
fix: fix potential deadlock
  • Loading branch information
WenyXu authored May 14, 2024
1 parent 494ce65 commit 00e21e2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/log-store/src/raft_engine/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 00e21e2

Please sign in to comment.