mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 03:18:29 +08:00
Add some log. (#16978)
Signed-off-by: sunby <bingyi.sun@zilliz.com> Co-authored-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
parent
e38c6f6c44
commit
59bc0a7000
@ -2278,7 +2278,9 @@ func (lbt *loadBalanceTask) globalPostExecute(ctx context.Context) error {
|
||||
|
||||
log.Debug("removing offline nodes from replicas and segments...",
|
||||
zap.Int("len(replicas)", len(replicas)),
|
||||
zap.Int("len(segments)", len(segments)))
|
||||
zap.Int("len(segments)", len(segments)),
|
||||
zap.Int64("trigger task ID", lbt.getTaskID()),
|
||||
)
|
||||
wg := sync.WaitGroup{}
|
||||
for _, replica := range replicas {
|
||||
wg.Add(1)
|
||||
|
@ -576,7 +576,10 @@ func (scheduler *TaskScheduler) scheduleLoop() {
|
||||
var triggerTask task
|
||||
|
||||
processInternalTaskFn := func(activateTasks []task, triggerTask task) {
|
||||
log.Debug("scheduleLoop: num of child task", zap.Int("num child task", len(activateTasks)))
|
||||
log.Debug("scheduleLoop: num of child task",
|
||||
zap.Int("num child task", len(activateTasks)),
|
||||
zap.Int64("trigger task ID", triggerTask.getTaskID()),
|
||||
)
|
||||
for _, childTask := range activateTasks {
|
||||
if childTask != nil {
|
||||
log.Debug("scheduleLoop: add an activate task to activateChan", zap.Int64("taskID", childTask.getTaskID()))
|
||||
|
Loading…
Reference in New Issue
Block a user