mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Add log for GetUnassignedTasks in indexcoord (#14232)
Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>pull/13459/head
parent
8c5260c938
commit
33afe1b576
|
@ -402,6 +402,7 @@ func (mt *metaTable) GetUnassignedTasks(onlineNodeIDs []int64) []Meta {
|
|||
mt.lock.RLock()
|
||||
defer mt.lock.RUnlock()
|
||||
|
||||
log.Debug("IndexCoord get unassigned tasks", zap.Int64s("online nodes", onlineNodeIDs))
|
||||
var metas []Meta
|
||||
|
||||
for _, meta := range mt.indexBuildID2Meta {
|
||||
|
@ -425,6 +426,8 @@ func (mt *metaTable) GetUnassignedTasks(onlineNodeIDs []int64) []Meta {
|
|||
}
|
||||
}
|
||||
|
||||
log.Debug("IndexCoord get unassigned tasks finished", zap.Int("tasks num", len(metas)))
|
||||
|
||||
return metas
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue