Add log for release collection task (#8226)

Signed-off-by: xige-16 <xi.ge@zilliz.com>
pull/8248/head
xige-16 2021-09-18 18:45:51 +08:00 committed by GitHub
parent 59434463ff
commit e75693e1a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -400,6 +400,7 @@ func (rct *ReleaseCollectionTask) Execute(ctx context.Context) error {
status := &commonpb.Status{
ErrorCode: commonpb.ErrorCode_UnexpectedError,
}
// if nodeID ==0, it means that the release request has not been assigned to the specified query node
if rct.NodeID <= 0 {
rct.meta.releaseCollection(collectionID)
releaseDQLMessageStreamReq := &proxypb.ReleaseDQLMessageStreamRequest{