hiSandog opened a new pull request, #25893:
URL: https://github.com/apache/pulsar/pull/25893

   ### Motivation
   RetryUtil retries when the returned future completes exceptionally, but a 
supplier that throws before returning a future escapes the retry path and can 
leave the callback incomplete.
   
   ### Modifications
   Route synchronous supplier failures through the same retry and 
mandatory-stop handling used for failed futures, and add a focused regression 
test.
   
   ### Verifying this change
   - git diff --check
   - ./gradlew :pulsar-broker:test --tests 
org.apache.pulsar.client.impl.RetryUtilTest (could not run locally: no Java 
runtime is installed)


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