diff --git a/kv/raftstore/peer.go b/kv/raftstore/peer.go index c75fe59cc..8d81e0f3e 100644 --- a/kv/raftstore/peer.go +++ b/kv/raftstore/peer.go @@ -209,7 +209,7 @@ func (p *peer) Destroy(engine *engine_util.Engines, keepData bool) error { return err } meta.WriteRegionState(kvWB, region, rspb.PeerState_Tombstone) - // write kv rocksdb first in case of restart happen between two write + // write kv badgerDB first in case of restart happen between two write if err := kvWB.WriteToDB(engine.Kv); err != nil { return err }