mirror of https://github.com/milvus-io/milvus.git
Fix zero length slice declaration in rocksmq_impl.go (#12577)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/12579/head
parent
2bd32353cf
commit
73705333b4
|
@ -874,7 +874,7 @@ func (rmq *rocksmq) updateAckedInfo(topicName, groupName string, ids []UniqueID)
|
|||
iter := rmq.kv.(*rocksdbkv.RocksdbKV).DB.NewIterator(readOpts)
|
||||
defer iter.Close()
|
||||
|
||||
pageIDs := make([]UniqueID, 0)
|
||||
var pageIDs []UniqueID
|
||||
pageMsgKey := pageMsgPrefix + "/" + strconv.FormatInt(firstID, 10)
|
||||
for iter.Seek([]byte(pageMsgKey)); iter.Valid(); iter.Next() {
|
||||
key := iter.Key()
|
||||
|
|
Loading…
Reference in New Issue