mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
Fix zero length slice declaration in rocksmq_impl.go (#12577)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user