Fix MsgPack from mq msgstream ts not set (#25926)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/25892/head
congqixia 2023-07-27 13:57:12 +08:00 committed by GitHub
parent 51b7354349
commit 33cfb2ba2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -398,6 +398,8 @@ func (ms *mqMsgStream) receiveMsg(consumer mqwrapper.Consumer) {
Msgs: []TsMsg{tsMsg},
StartPositions: []*msgpb.MsgPosition{tsMsg.Position()},
EndPositions: []*msgpb.MsgPosition{tsMsg.Position()},
BeginTs: tsMsg.BeginTs(),
EndTs: tsMsg.EndTs(),
}
select {
case ms.receiveBuf <- &msgPack: