paul-rogers commented on code in PR #12222:
URL: https://github.com/apache/druid/pull/12222#discussion_r899640155
##########
server/src/main/java/org/apache/druid/initialization/Initialization.java:
##########
@@ -518,7 +519,13 @@ private boolean shouldLoadOnCurrentNodeType(Object object)
Set<NodeRole> rolesPredicate = Arrays.stream(loadScope.roles())
.map(NodeRole::fromJsonName)
.collect(Collectors.toSet());
- return rolesPredicate.stream().anyMatch(nodeRoles::contains);
+ boolean shouldLoad =
rolesPredicate.stream().anyMatch(nodeRoles::contains);
+ if (!shouldLoad) {
+ log.debug(
Review Comment:
Changed. As it turns out, it started at info and someone suggested it be
moved to debug. I added it because, like you, I had a case in which an
extension was not being loaded and needed to know why.
--
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]