[skip ci] Refine datacoord handler comment (#13113)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
pull/13116/merge
edward.zeng 2021-12-09 22:10:23 +08:00 committed by GitHub
parent 4459611126
commit d323b3bd84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -24,11 +24,12 @@ type ServerHandler struct {
s *Server
}
// newServerHandler creates a new ServerHandler
func newServerHandler(s *Server) *ServerHandler {
return &ServerHandler{s: s}
}
// GetVChanPositions get vchannel latest postitions with provided dml channel names
// GetVChanPositions gets vchannel latest postitions with provided dml channel names
func (h *ServerHandler) GetVChanPositions(channel string, collectionID UniqueID, partitionID UniqueID) *datapb.VchannelInfo {
// cannot use GetSegmentsByChannel since dropped segments are needed here
segments := h.s.meta.SelectSegments(func(s *SegmentInfo) bool {