mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comments for rocksmq SeekToLatest (#10120)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>pull/10127/head
parent
ec667846f4
commit
401753dea0
|
@ -704,6 +704,7 @@ func (rmq *rocksmq) Seek(topicName string, groupName string, msgID UniqueID) err
|
|||
return nil
|
||||
}
|
||||
|
||||
// SeekToLatest updates current id to the msg id of latest message
|
||||
func (rmq *rocksmq) SeekToLatest(topicName, groupName string) error {
|
||||
rmq.storeMu.Lock()
|
||||
defer rmq.storeMu.Unlock()
|
||||
|
|
Loading…
Reference in New Issue