未验证 提交 401753de 编写于 作者: Y yukun 提交者: GitHub

[skip ci]Add comments for rocksmq SeekToLatest (#10120)

Signed-off-by: Nfishpenguin <kun.yu@zilliz.com>
上级 ec667846
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册