heatclub commented on code in PR #10411:
URL: https://github.com/apache/pinot/pull/10411#discussion_r1136182410


##########
pinot-core/src/main/java/org/apache/pinot/core/data/manager/BaseTableDataManager.java:
##########
@@ -526,6 +538,9 @@ private File downloadSegmentFromDeepStore(String 
segmentName, SegmentZKMetadata
     } else {
       try {
         File tarFile = downloadAndDecrypt(segmentName, zkMetadata, 
tempRootDir);
+        if (_isRetrySegmentDownloadUntarFailure) {

Review Comment:
   Apart from retry changes in this PR, downloadSegmentFromDeepStore() has only 
one other flow downloadAndStreamUntarWithRateLimit() in which a retry logic is 
already present for that path in 
HttpSegmentfetcher.fetchUntarSegmentToLocalStreamed() for download failure 
only. Should we handle untar failures also there itself ? As both download and 
untar happens in that same function 
   
   Te advantage of: `retry logic over the downloadSegmentFromDeepStore()` is 
that it required less code changes.



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

Reply via email to