mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 17:48:29 +08:00
enhance: indexnode building index record collection id (#32574)
Adding a collection id to the index node log allows you to associate an index building task with a specific collection. If the host CPU usage is too high due to index build, you can use the collection id to quickly locate a specific collection, improving fault locating efficiency. Signed-off-by: dengxiaohai <rolkdengxiaohai@didiglobal.com> Co-authored-by: dengxiaohai <rolkdengxiaohai@didiglobal.com>
This commit is contained in:
parent
46d7298407
commit
00d0f7c199
@ -54,6 +54,7 @@ func (i *IndexNode) CreateJob(ctx context.Context, req *indexpb.CreateJobRequest
|
||||
}
|
||||
defer i.lifetime.Done()
|
||||
log.Info("IndexNode building index ...",
|
||||
zap.Int64("collectionID", req.GetCollectionID()),
|
||||
zap.Int64("indexID", req.GetIndexID()),
|
||||
zap.String("indexName", req.GetIndexName()),
|
||||
zap.String("indexFilePrefix", req.GetIndexFilePrefix()),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user