From 9b65aad4cfa195cef9e5a174ee8246c6751e4bd0 Mon Sep 17 00:00:00 2001 From: congqixia Date: Mon, 4 Oct 2021 17:26:38 +0800 Subject: [PATCH] Add IndexCoord implementation Assertion (#9203) Signed-off-by: Congqi Xia --- internal/indexcoord/index_coord.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/indexcoord/index_coord.go b/internal/indexcoord/index_coord.go index 4854cc9c61..79b2b84dcf 100644 --- a/internal/indexcoord/index_coord.go +++ b/internal/indexcoord/index_coord.go @@ -44,6 +44,9 @@ import ( "github.com/milvus-io/milvus/internal/util/typeutil" ) +// make sure IndexCoord implements types.IndexCoord +var _ types.IndexCoord = (*IndexCoord)(nil) + // IndexCoord is a component responsible for scheduling index construction tasks and maintaining index status. // IndexCoord accepts requests from rootcoord to build indexes, delete indexes, and query index information. // IndexCoord is responsible for assigning IndexBuildID to the request to build the index, and forwarding the