Skip to content

Commit

Permalink
fix: [cherry-pick]Remove logging data when logging skip msg (#29708)
Browse files Browse the repository at this point in the history
See also: #29696
pr: #29707

Signed-off-by: yangxuan <[email protected]>
  • Loading branch information
XuanYang-cn authored Jan 15, 2024
1 parent 58b9b8f commit 962b3ea
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkg/mq/msgstream/mq_msgstream.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
)
}
}
}
Expand Down

0 comments on commit 962b3ea

Please sign in to comment.