Change pchannels to vchannel in retrieveResults (#6054)

Signed-off-by: fishpenguin <kun.yu@zilliz.com>
pull/6042/head
yukun 2021-06-24 13:40:03 +08:00 committed by GitHub
parent 4df6168c5e
commit c8bf9078ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -319,8 +319,8 @@ func (s *Server) startDataNodeTtLoop(ctx context.Context) {
ch := ttMsg.ChannelName
ts := ttMsg.Timestamp
log.Debug("Receive datanode timetick msg", zap.String("channel", ch),
zap.Any("ts", ts))
// log.Debug("Receive datanode timetick msg", zap.String("channel", ch),
// zap.Any("ts", ts))
segments, err := s.segmentManager.GetFlushableSegments(ctx, ch, ts)
if err != nil {
log.Warn("get flushable segments failed", zap.Error(err))

View File

@ -1247,7 +1247,7 @@ func (q *queryCollection) retrieve(retrieveMsg *msgstream.RetrieveMsg) error {
FieldsData: result.FieldsData,
ResultChannelID: retrieveMsg.ResultChannelID,
SealedSegmentIDsRetrieved: sealedSegmentRetrieved,
ChannelIDsRetrieved: collection.getPChannels(),
ChannelIDsRetrieved: collection.getVChannels(),
//TODO(yukun):: get global sealed segment from etcd
GlobalSealedSegmentIDs: sealedSegmentRetrieved,
},