mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 14:35:27 +08:00
[skip ci]Format rocksdbkv log (#13094)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
506ca42c5a
commit
c71b4d32f6
@ -181,7 +181,7 @@ func (kv *RocksdbKV) MultiSave(kvs map[string]string) error {
|
||||
// RemoveWithPrefix removes a batch of key-values with specified prefix
|
||||
func (kv *RocksdbKV) RemoveWithPrefix(prefix string) error {
|
||||
if kv.DB == nil {
|
||||
return errors.New("Rocksdb instance is nil when do RemoveWithPrefix")
|
||||
return errors.New("rocksdb instance is nil when do RemoveWithPrefix")
|
||||
}
|
||||
kv.ReadOptions.SetPrefixSameAsStart(true)
|
||||
kv.DB.Close()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user