jugomezv commented on code in PR #10777:
URL: https://github.com/apache/pinot/pull/10777#discussion_r1204449486
##########
pinot-common/src/main/java/org/apache/pinot/common/utils/fetcher/HttpSegmentFetcher.java:
##########
@@ -106,7 +108,8 @@ public File fetchUntarSegmentToLocalStreamed(URI
downloadURI, File dest, long ma
AtomicReference<File> ret = new AtomicReference<>(); // return the untared
segment directory
_logger.info("Retry downloading for {} times. retryCount from pinot server
config: {}, number of IP addresses for "
+ "download URI: {}", retryCount, _retryCount,
uriProvider.numAddresses());
- RetryPolicies.exponentialBackoffRetryPolicy(retryCount, _retryWaitMs,
_retryDelayScaleFactor).attempt(() -> {
+ int tries = RetryPolicies.exponentialBackoffRetryPolicy(retryCount,
_retryWaitMs,
Review Comment:
We already catch when we call this function right? why would we like to do
it once again here?
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]