AmatyaAvadhanula commented on code in PR #15699:
URL: https://github.com/apache/druid/pull/15699#discussion_r1460226372
##########
indexing-service/src/main/java/org/apache/druid/indexing/common/actions/RetrieveUsedSegmentsAction.java:
##########
@@ -85,6 +103,8 @@ public RetrieveUsedSegmentsAction(
// Defaulting to the former behaviour when visibility wasn't explicitly
specified for backward compatibility
this.visibility = visibility != null ? visibility : Segments.ONLY_VISIBLE;
+
+ this.replace = replace != null ? replace : false;
Review Comment:
Thanks, I think this can always be true.
If we need to fetch all the unfiltered segments for a task holding replace
locks, we could use a task action client created using a different task that
holds no locks.
--
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]