lhotari commented on code in PR #24198:
URL: https://github.com/apache/pulsar/pull/24198#discussion_r2056528117


##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/PulsarClientImpl.java:
##########
@@ -1216,7 +1216,8 @@ private void getPartitionedTopicMetadata(TopicName 
topicName,
             // `TooManyRequestsException`
             boolean isLookupThrottling = 
!PulsarClientException.isRetriableError(e.getCause())
                 || e.getCause() instanceof 
PulsarClientException.AuthenticationException
-                || e.getCause() instanceof 
PulsarClientException.NotFoundException;
+                || e.getCause() instanceof 
PulsarClientException.NotFoundException
+                || e.getCause() instanceof 
PulsarClientException.AlreadyClosedException;

Review Comment:
   It seems to be ok, since AlreadyClosedException isn't used for other 
purposes in lookups.



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

Reply via email to