Delete uncessary print

Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
pull/4973/head^2
zhenshan.cao 2021-03-15 19:47:13 +08:00 committed by yefu.chen
parent 1cde8a0054
commit ec8ad89900
3 changed files with 8 additions and 5 deletions

View File

@ -94,7 +94,6 @@ func (pt *ParamTable) LoadConfigFromInitParams(initParams *internalpb.InitParams
log.Debug("proxynode", zap.String("error", "Undefined config type, key="+key))
}
}
log.Debug("proxynode", zap.String(key, str))
err = pt.Save(key, str)
if err != nil {
panic(err)

View File

@ -172,10 +172,16 @@ func (queue *BaseTaskQueue) Enqueue(t task) error {
return err
}
ts, _ := queue.sched.tsoAllocator.AllocOne()
ts, err := queue.sched.tsoAllocator.AllocOne()
if err != nil {
return err
}
t.SetTs(ts)
reqID, _ := queue.sched.idAllocator.AllocOne()
reqID, err := queue.sched.idAllocator.AllocOne()
if err != nil {
return err
}
t.SetID(reqID)
return queue.addUnissuedTask(t)

View File

@ -89,8 +89,6 @@ func (tt *timeTick) tick() error {
err := tt.tickMsgStream.Produce(tt.ctx, &msgPack)
if err != nil {
log.Warn("proxynode", zap.String("error", err.Error()))
} else {
log.Debug("proxynode send time tick message")
}
tt.tickLock.Lock()
defer tt.tickLock.Unlock()