mirror of https://github.com/milvus-io/milvus.git
[skip ci]Add comment for HasSameReq in indexcoord (#13344)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>pull/13370/head
parent
aedb6801e8
commit
70fdee850c
|
@ -420,6 +420,7 @@ func (mt *metaTable) GetUnassignedTasks(onlineNodeIDs []int64) []Meta {
|
|||
return metas
|
||||
}
|
||||
|
||||
// HasSameReq determine whether there are same indexing tasks.
|
||||
func (mt *metaTable) HasSameReq(req *indexpb.BuildIndexRequest) (bool, UniqueID) {
|
||||
mt.lock.Lock()
|
||||
defer mt.lock.Unlock()
|
||||
|
|
Loading…
Reference in New Issue