cecemei commented on code in PR #17774:
URL: https://github.com/apache/druid/pull/17774#discussion_r2025419988
##########
server/src/main/java/org/apache/druid/server/coordination/ServerManager.java:
##########
@@ -190,6 +195,10 @@ public <T> QueryRunner<T>
getQueryRunnerForSegments(Query<T> theQuery, Iterable<
throw new ISE("Cannot handle subquery: %s", dataSourceFromQuery);
}
+ if (!(theQuery instanceof SegmentMetadataQuery) &&
!policyEnforcer.validate(dataSourceFromQuery)) {
Review Comment:
I think this is from when policy is first rolled out we're not sure what to
do with `SegmentMetadataQuery`, nevertheless `NoRestrictionPolicy` should be
allowed since it's coming from internal, PR to allow it:
https://github.com/apache/druid/pull/17864
also updated this pr to remove this special case
--
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]