mirror of https://github.com/milvus-io/milvus.git
[skip ci] Refine datacoord handler comment (#13113)
Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>pull/13116/merge
parent
4459611126
commit
d323b3bd84
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue