mirror of https://github.com/milvus-io/milvus.git
Fixbug: remove wrong check code (#6372)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>pull/6390/head
parent
b53699b846
commit
6b4b71bf03
|
@ -293,12 +293,6 @@ func (i *IndexCoord) BuildIndex(ctx context.Context, req *indexpb.BuildIndexRequ
|
|||
kv: i.kv,
|
||||
}
|
||||
|
||||
if i.nodeClients == nil || i.nodeClients.Len() <= 0 {
|
||||
ret.Status.Reason = "IndexBuilding Service not available"
|
||||
return ret, nil
|
||||
}
|
||||
t.nodeClients = i.nodeClients
|
||||
|
||||
var cancel func()
|
||||
t.ctx, cancel = context.WithTimeout(ctx, reqTimeoutInterval)
|
||||
defer cancel()
|
||||
|
|
|
@ -77,7 +77,6 @@ type IndexAddTask struct {
|
|||
buildQueue TaskQueue
|
||||
kv kv.BaseKV
|
||||
builderClient types.IndexNode
|
||||
nodeClients *PriorityQueue
|
||||
buildClientNodeID UniqueID
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue