mirror of https://github.com/milvus-io/milvus.git
Fix rocksmq produce hang when do search repeatedly (#12225)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>pull/12231/head
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…
Reference in New Issue