qianlongzt commented on a change in pull request #559:
URL: https://github.com/apache/rocketmq-client-go/pull/559#discussion_r595149832
##########
File path: consumer/push_consumer.go
##########
@@ -715,7 +717,12 @@ func (pc *pushConsumer) pullMessage(request *PullRequest) {
}
func (pc *pushConsumer) correctTagsOffset(pr *PullRequest) {
- // TODO
+ if atomic.LoadInt64(&pr.pq.cachedMsgCount) == 0 {
Review comment:
check more
```suggestion
if atomic.LoadInt64(&pr.pq.cachedMsgCount) == 0 {
if pr.pq.IsDroppd() {
return
}
if !pr.pq.IsLock() {
return
}
if pr.pq.isLockExpired() {
return
}
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]