mirror of https://github.com/milvus-io/milvus.git
Add IndexNode implementation Assertion (#9202)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/9214/head
parent
267fbe74e6
commit
3939197d79
|
@ -33,6 +33,7 @@ import (
|
|||
"time"
|
||||
"unsafe"
|
||||
|
||||
"github.com/milvus-io/milvus/internal/types"
|
||||
"github.com/milvus-io/milvus/internal/util/metricsinfo"
|
||||
|
||||
"go.uber.org/zap"
|
||||
|
@ -54,6 +55,9 @@ import (
|
|||
// UniqueID is an alias of int64, is used as a unique identifier for the request.
|
||||
type UniqueID = typeutil.UniqueID
|
||||
|
||||
// make sure IndexNode implements types.IndexNode
|
||||
var _ types.IndexNode = (*IndexNode)(nil)
|
||||
|
||||
// IndexNode is a component that executes the task of building indexes.
|
||||
type IndexNode struct {
|
||||
stateCode atomic.Value
|
||||
|
|
Loading…
Reference in New Issue