eolivelli commented on code in PR #19446:
URL: https://github.com/apache/pulsar/pull/19446#discussion_r1098273478


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/ServerCnx.java:
##########
@@ -1622,6 +1625,14 @@ protected void handleSend(CommandSend send, ByteBuf 
headersAndPayload) {
         CompletableFuture<Producer> producerFuture = 
producers.get(send.getProducerId());
 
         if (producerFuture == null || !producerFuture.isDone() || 
producerFuture.isCompletedExceptionally()) {
+            if (recentlyClosedProducers.containsKey(send.getProducerId())) {

Review Comment:
   should we compare the "epoch" here ? maybe it is unnecessary, but I am not 
expert in this part of the protocol



-- 
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]

Reply via email to