From aa05b3d80fecf5dc862e919d45da70d5cad0dda8 Mon Sep 17 00:00:00 2001 From: Cai Yudong Date: Sat, 2 Oct 2021 09:59:55 +0800 Subject: [PATCH] [skip ci] Update comment for drop index (#8960) Signed-off-by: yudong.cai --- internal/types/types.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/types/types.go b/internal/types/types.go index 2a86a9b972..d3aec7ea99 100644 --- a/internal/types/types.go +++ b/internal/types/types.go @@ -265,6 +265,8 @@ type RootCoord interface { // The `ErrorCode` of `Status` is `Success` if drop index successfully; // otherwise, the `ErrorCode` of `Status` will be `Error`, and the `Reason` of `Status` will record the fail cause. // error is always nil + // + // RootCoord forwards this request to IndexCoord to drop index DropIndex(ctx context.Context, req *milvuspb.DropIndexRequest) (*commonpb.Status, error) // CreateAlias notifies RootCoord to create an alias for the collection