eric-maynard commented on code in PR #1959: URL: https://github.com/apache/polaris/pull/1959#discussion_r2183970346
########## polaris-core/src/main/java/org/apache/polaris/core/config/PolarisConfigurationStore.java: ########## @@ -99,7 +99,25 @@ public interface PolarisConfigurationStore { */ default <T> @Nonnull T getConfiguration( @Nonnull RealmContext realmContext, PolarisConfiguration<T> config) { - T result = getConfiguration(realmContext, config.key, config.defaultValue); + T result = getConfiguration(realmContext, config.key); + + if (result == null && config.hasLegacyKeys()) { + for (String legacyKey : config.legacyKeys) { Review Comment: If `legacyKeys` just returned a set (or there was a `keys` that returned a set) then the if statement here goes away. -- 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: issues-unsubscr...@polaris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org