You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/11/17 16:11:50 UTC
[GitHub] [pulsar] congbobo184 commented on a diff in pull request #18491: [fix][client] Fix multi-topic consumer stuck after redeliver messages
congbobo184 commented on code in PR #18491:
URL: https://github.com/apache/pulsar/pull/18491#discussion_r1025400068
##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/MultiTopicsConsumerImpl.java:
##########
@@ -712,8 +712,8 @@ public void redeliverUnacknowledgedMessages() {
});
clearIncomingMessages();
unAckedMessageTracker.clear();
+ resumeReceivingFromPausedConsumersIfNeeded();
Review Comment:
https://github.com/apache/pulsar/blob/dd8bd05ad98fa302d5dc85642ef994c20890e171/pulsar-client/src/main/java/org/apache/pulsar/client/impl/MultiTopicsConsumerImpl.java#L691-L692
the core issue is: change the lock to `internalPinnedExecutor` then `CONSUMER_EPOCH.incrementAndGet(this)`, the epoch can't work, right?
I'm not sure about the PR `https://github.com/apache/pulsar/pull/18475`, why do we also need to revert? Is the truth the deadlock?
the fix in `https://github.com/apache/pulsar/pull/18454` i am not sure this fix isn't right.
--
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-unsubscribe@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org