mirror of https://github.com/milvus-io/milvus.git
Fix printing too many warnings (#27015)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>pull/26994/head
parent
3c74acb55c
commit
802a6a86c0
|
@ -200,6 +200,11 @@ func (node *BaseNode) IsValidInMsg(in []Msg) bool {
|
|||
return false
|
||||
}
|
||||
|
||||
if len(in) == 0 {
|
||||
// avoid printing too many logs.
|
||||
return false
|
||||
}
|
||||
|
||||
if len(in) != 1 {
|
||||
log.Warn("Invalid operate message input", zap.Int("input length", len(in)))
|
||||
return false
|
||||
|
|
Loading…
Reference in New Issue