lhotari commented on code in PR #23795:
URL: https://github.com/apache/pulsar/pull/23795#discussion_r1900049075
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentStickyKeyDispatcherMultipleConsumersClassic.java:
##########
@@ -163,6 +195,7 @@ public synchronized void removeConsumer(Consumer consumer)
throws BrokerServiceE
super.removeConsumer(consumer);
if (recentlyJoinedConsumers != null) {
recentlyJoinedConsumers.remove(consumer);
+ sortRecentlyJoinedConsumersIfNeeded();
Review Comment:
why would sorting be needed after removing a consumer?
--
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]