poojanilangekar commented on code in PR #1959:
URL: https://github.com/apache/polaris/pull/1959#discussion_r2180661035
##########
polaris-core/src/main/java/org/apache/polaris/core/config/PolarisConfiguration.java:
##########
@@ -41,6 +43,7 @@ public abstract class PolarisConfiguration<T> {
public final String key;
public final String description;
+ public final Set<String> legacyKeys;
Review Comment:
Yes, it is used when registering a new configuration.
Previously (before this change), we would go over existingConfigurations
check if it matched any existingConfiguration's key. Now, we check if the new
configuration (both key and legacyKeys) match either an existing key (line 61)
or existing legacyKeys (line 65 - 76)
--
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]