fix: Remove logging data when logging skip msg (#29707)

See also: #29696

Signed-off-by: yangxuan <xuan.yang@zilliz.com>
This commit is contained in:
XuanYang-cn 2024-01-15 11:40:51 +08:00 committed by GitHub
parent fb4fbcf48c
commit f9508a4851
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -915,7 +915,12 @@ func (ms *MqTtMsgStream) Seek(ctx context.Context, msgPositions []*msgpb.MsgPosi
})
ms.chanMsgBuf[consumer] = append(ms.chanMsgBuf[consumer], tsMsg)
} else {
log.Info("skip msg", zap.Any("msg", tsMsg))
log.Info("skip msg",
zap.Int64("source", tsMsg.SourceID()),
zap.String("type", tsMsg.Type().String()),
zap.Int("size", tsMsg.Size()),
zap.Any("position", tsMsg.Position()),
)
}
}
}