[skip e2e]Add log for HasSameReq in indexcoord (#14233)

Signed-off-by: Cai.Zhang <cai.zhang@zilliz.com>
pull/14248/head
cai.zhang 2021-12-25 23:14:50 +08:00 committed by GitHub
parent 8e2e9c3735
commit df82dcc783
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -436,6 +436,9 @@ func (mt *metaTable) HasSameReq(req *indexpb.BuildIndexRequest) (bool, UniqueID)
mt.lock.Lock()
defer mt.lock.Unlock()
log.Debug("IndexCoord judges whether the same task exists in meta table", zap.Int64("indexBuildID", req.IndexBuildID),
zap.Int64("indexID", req.IndexID), zap.Any("index params", req.IndexParams),
zap.Any("type params", req.TypeParams))
for _, meta := range mt.indexBuildID2Meta {
if meta.indexMeta.Req.IndexID != req.IndexID {
continue