mirror of
https://github.com/talent-plan/tinykv.git
synced 2025-03-28 21:10:23 +08:00
fix(raftstore): fix typo (#354)
This commit is contained in:
parent
e4cdc05319
commit
43e37c16f7
@ -44,7 +44,7 @@ func BootstrapStore(engines *engine_util.Engines, clusterID, storeID uint64) err
|
||||
return err
|
||||
}
|
||||
if !empty {
|
||||
return errors.New("kv store is not empty and ahs alread had data.")
|
||||
return errors.New("kv store is not empty and has already had data.")
|
||||
}
|
||||
empty, err = isRangeEmpty(engines.Raft, meta.MinKey, meta.MaxKey)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user