ShannonDing commented on issue #797:
URL:
https://github.com/apache/rocketmq-client-go/issues/797#issuecomment-1191289532
yes, it seems something error here. remove Messages consumer succ from pq
is right. like this.
```
for i := 0; i < len(subMsgs); i++ {
msg := subMsgs[i]
if !pc.sendMessageBack(mq.BrokerName, msg,
concurrentCtx.DelayLevelWhenNextConsume) {
msg.ReconsumeTimes += 1
msgBackFailed = append(msgBackFailed, msg)
}else {
msgBackSucc =append(msgBackSucc,msg)
}
}
offset := pq.removeMessage(msgBackSucc...)
if offset >= 0 && !pq.IsDroppd() {
pc.storage.update(mq, int64(offset), true)
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]