kfaraz commented on code in PR #14652:
URL: https://github.com/apache/druid/pull/14652#discussion_r1274537487


##########
indexing-service/src/main/java/org/apache/druid/indexing/input/DruidInputSource.java:
##########
@@ -499,9 +500,9 @@ public static List<TimelineObjectHolder<String, 
DataSegment>> getTimelineForInte
     Collection<DataSegment> usedSegments;
     while (true) {
       try {
-        usedSegments = 
coordinatorClient.fetchUsedSegmentsInDataSourceForIntervals(
-            dataSource,
-            Collections.singletonList(interval)
+        usedSegments = FutureUtils.getUnchecked(
+            coordinatorClient.fetchUsedSegments(dataSource, 
Collections.singletonList(interval)),
+            true

Review Comment:
   I wonder if we still need the retry logic in the catch block below. It would 
be handled by the new `CoordinatorClient` itself.



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