Fix the bug statistics indexnode num (#21503)

Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
pull/21519/head
cai.zhang 2023-01-04 16:39:35 +08:00 committed by GitHub
parent 87ee68a63a
commit d88846b20c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -222,7 +222,6 @@ func (i *IndexCoord) Init() error {
log.Info("IndexCoord add node success", zap.String("IndexNode address", Params.IndexCoordCfg.IndexNodeAddress),
zap.Int64("nodeID", Params.IndexCoordCfg.IndexNodeID))
aliveNodeID = append(aliveNodeID, Params.IndexCoordCfg.IndexNodeID)
metrics.IndexCoordIndexNodeNum.WithLabelValues().Inc()
} else {
for _, session := range sessions {
session := session