[skip e2e] Improve log in allocator/id.go (#14826)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
congqixia 2022-01-05 14:31:30 +08:00 committed by GitHub
parent ecdc3f7bf7
commit e96a851c00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -138,9 +138,9 @@ func (ia *IDAllocator) pickCanDoFunc() {
}
ia.ToDoReqs = ia.ToDoReqs[idx:]
log.Debug("IDAllocator pickCanDoFunc",
zap.Any("need", need),
zap.Any("total", total),
zap.Any("remainReqCnt", len(ia.ToDoReqs)))
zap.Uint32("need", need),
zap.Uint32("total", total),
zap.Int("remainReqCnt", len(ia.ToDoReqs)))
}
func (ia *IDAllocator) processFunc(req Request) error {