codelipenghui commented on a change in pull request #4372: Fix bug of
Key_Shared Ordering
URL: https://github.com/apache/pulsar/pull/4372#discussion_r287658042
##########
File path:
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentDispatcherMultipleConsumers.java
##########
@@ -409,15 +410,14 @@ public synchronized void readEntriesComplete(List<Entry>
entries, Object ctx) {
}
sendMessagesToConsumers(readType, entries);
-
- readMoreEntries();
}
protected void sendMessagesToConsumers(ReadType readType, List<Entry>
entries) {
int start = 0;
int entriesToDispatch = entries.size();
long totalMessagesSent = 0;
long totalBytesSent = 0;
+ AtomicInteger messagesToConsumer = new AtomicInteger(entries.size());
Review comment:
Agree, i'm already remove this change, PTAL.
----------------------------------------------------------------
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]
With regards,
Apache Git Services