Refine log when initialize dml channels (#21863)

Signed-off-by: longjiquan <jiquan.long@zilliz.com>
pull/21868/head
Jiquan Long 2023-01-30 14:05:54 +08:00 committed by GitHub
parent 5ed6ae2f27
commit 270c5b0502
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -172,7 +172,9 @@ func newDmlChannels(ctx context.Context, factory msgstream.Factory, chanNamePref
}
heap.Init(&d.channelsHeap)
log.Debug("init dml channels", zap.Int64("num", chanNum))
log.Info("init dml channels", zap.String("prefix", chanNamePrefix), zap.Int64("num", chanNum))
metrics.RootCoordNumOfDMLChannel.Add(float64(chanNum))
metrics.RootCoordNumOfMsgStream.Add(float64(chanNum))