leizhiyuan edited a comment on issue #11604: URL: https://github.com/apache/pulsar/issues/11604#issuecomment-895182485
![image](https://user-images.githubusercontent.com/2684384/128705973-f4ef264f-ff43-4b46-a2b4-672d3f1b2147.png) maybe there is a concurrent bug。 ``` if (lastCumulativeAck.messageId == null) {. // 1. is not null return false; } if (messageId.compareTo(lastCumulativeAck.messageId) <= 0) { //2.another thread change the messageId to null // Already included in a cumulative ack return true; } else { return pendingIndividualAcks.contains(messageId); } ``` -- 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org