mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 22:45:26 +08:00
Fix rocksmq produce hang when do search repeatedly (#12225)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
This commit is contained in:
parent
8e0c8febe9
commit
6a167f8579
@ -597,6 +597,9 @@ func (rmq *rocksmq) Consume(topicName string, groupName string, n int) ([]Consum
|
||||
log.Debug("RocksMQ: load " + metaKey + " failed")
|
||||
return nil, err
|
||||
}
|
||||
if currentID == "" {
|
||||
return nil, fmt.Errorf("currentID of topicName=%s, groupName=%s not exist", topicName, groupName)
|
||||
}
|
||||
|
||||
readOpts := gorocksdb.NewDefaultReadOptions()
|
||||
defer readOpts.Destroy()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user