提交 08c51342 编写于 作者: B bigsheeper 提交者: yefu.chen

Fix collection cannot be found when searching

Signed-off-by: Nbigsheeper <yihao.dai@zilliz.com>
上级 94c3fc93
...@@ -158,7 +158,7 @@ func (node *QueryNode) WatchDmChannels(ctx context.Context, in *queryPb.WatchDmC ...@@ -158,7 +158,7 @@ func (node *QueryNode) WatchDmChannels(ctx context.Context, in *queryPb.WatchDmC
} }
log.Debug("watchDmChannelsTask Enqueue done", zap.Any("collectionID", in.CollectionID)) log.Debug("watchDmChannelsTask Enqueue done", zap.Any("collectionID", in.CollectionID))
go func() { func() {
err = dct.WaitToFinish() err = dct.WaitToFinish()
if err != nil { if err != nil {
log.Error(err.Error()) log.Error(err.Error())
...@@ -194,7 +194,7 @@ func (node *QueryNode) LoadSegments(ctx context.Context, in *queryPb.LoadSegment ...@@ -194,7 +194,7 @@ func (node *QueryNode) LoadSegments(ctx context.Context, in *queryPb.LoadSegment
} }
log.Debug("loadSegmentsTask Enqueue done", zap.Any("collectionID", in.CollectionID)) log.Debug("loadSegmentsTask Enqueue done", zap.Any("collectionID", in.CollectionID))
go func() { func() {
err = dct.WaitToFinish() err = dct.WaitToFinish()
if err != nil { if err != nil {
log.Error(err.Error()) log.Error(err.Error())
...@@ -230,7 +230,7 @@ func (node *QueryNode) ReleaseCollection(ctx context.Context, in *queryPb.Releas ...@@ -230,7 +230,7 @@ func (node *QueryNode) ReleaseCollection(ctx context.Context, in *queryPb.Releas
} }
log.Debug("releaseCollectionTask Enqueue done", zap.Any("collectionID", in.CollectionID)) log.Debug("releaseCollectionTask Enqueue done", zap.Any("collectionID", in.CollectionID))
go func() { func() {
err = dct.WaitToFinish() err = dct.WaitToFinish()
if err != nil { if err != nil {
log.Error(err.Error()) log.Error(err.Error())
...@@ -266,7 +266,7 @@ func (node *QueryNode) ReleasePartitions(ctx context.Context, in *queryPb.Releas ...@@ -266,7 +266,7 @@ func (node *QueryNode) ReleasePartitions(ctx context.Context, in *queryPb.Releas
} }
log.Debug("releasePartitionsTask Enqueue done", zap.Any("collectionID", in.CollectionID)) log.Debug("releasePartitionsTask Enqueue done", zap.Any("collectionID", in.CollectionID))
go func() { func() {
err = dct.WaitToFinish() err = dct.WaitToFinish()
if err != nil { if err != nil {
log.Error(err.Error()) log.Error(err.Error())
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册