zachjsh commented on code in PR #16127:
URL: https://github.com/apache/druid/pull/16127#discussion_r1526587948
##########
server/src/main/java/org/apache/druid/server/http/DataSourcesResource.java:
##########
@@ -278,13 +284,14 @@ public Response markSegmentsAsUnused(
);
return numUpdatedSegments;
};
- return performSegmentUpdate(dataSourceName, payload, operation);
+ return performSegmentUpdate(dataSourceName, payload, operation, true);
}
private Response performSegmentUpdate(
String dataSourceName,
MarkDataSourceSegmentsPayload payload,
- SegmentUpdateOperation operation
+ SegmentUpdateOperation operation,
+ boolean validateDatasourceIsQueryable
Review Comment:
Thanks, I took your suggestion here, but changed the order of the branches.
--
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]