Skip to content

Commit

Permalink
pymilvus hangs after calling do_bulk_insert() with a non-exist collec…
Browse files Browse the repository at this point in the history
…tion name

Signed-off-by: yhmo <[email protected]>
  • Loading branch information
yhmo committed Jan 8, 2024
1 parent 0c83440 commit 82295b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/rootcoord/root_coord.go
Original file line number Diff line number Diff line change
Expand Up @@ -1867,7 +1867,9 @@ func (c *Core) Import(ctx context.Context, req *milvuspb.ImportRequest) (*milvus
log.Error("failed to find collection ID from its name",
zap.String("collectionName", req.GetCollectionName()),
zap.Error(err))
return nil, err
return &milvuspb.ImportResponse{
Status: merr.Status(err),
}, nil
}

isBackUp := importutil.IsBackup(req.GetOptions())
Expand Down

0 comments on commit 82295b9

Please sign in to comment.