You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by gi...@git.apache.org on 2017/09/26 03:20:16 UTC

[GitHub] dongeforever commented on a change in pull request #72: [ROCKETMQ-134]the offset of message filter by tags may be not commit to broker

dongeforever commented on a change in pull request #72: [ROCKETMQ-134]the offset of message filter by tags may be not commit to broker
URL: https://github.com/apache/incubator-rocketmq/pull/72#discussion_r140949236
 
 

 ##########
 File path: client/src/main/java/org/apache/rocketmq/client/impl/consumer/DefaultMQPushConsumerImpl.java
 ##########
 @@ -280,6 +280,12 @@ public void onSuccess(PullResult pullResult) {
 
                     switch (pullResult.getPullStatus()) {
                         case FOUND:
+                            if (pullResult.getMsgFoundList().size() == 0) {
 
 Review comment:
   It maybe confusing without comments.
   For if the status is FOUND, it is expected that the msgList size will be greater than 0.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services