mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-06 17:18:35 +08:00
Fix printing too many warnings (#27015)
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user