keith-turner commented on code in PR #5082:
URL: https://github.com/apache/accumulo/pull/5082#discussion_r1850859143
##########
server/base/src/main/java/org/apache/accumulo/server/conf/CheckCompactionConfig.java:
##########
@@ -106,7 +106,8 @@ public static void validate(AccumuloConfiguration config,
Level level)
Set<String> defaultService = Set.of(DEFAULT_COMPACTION_SERVICE_NAME);
if (servicesConfig.getPlanners().keySet().equals(defaultService)) {
- log.warn("Only the default compaction service was created - {}",
defaultService);
+ log.atLevel(level).log("Only the default compaction service was created
- {}",
Review Comment:
> Might be a good follow on to try and validate the servicesConfig planners
vs what planner prefixes might be set in the properties? and only log if
there's a difference?
Could this be accomplished by adding unit test for CompactionServicesConfig
that verifies it fails/throws an exception under these conditions?
--
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]