Jackie-Jiang commented on code in PR #12440: URL: https://github.com/apache/pinot/pull/12440#discussion_r1576704306
########## pinot-spi/src/main/java/org/apache/pinot/spi/env/CommonsConfigurationUtils.java: ########## @@ -43,28 +46,16 @@ */ public class CommonsConfigurationUtils { private static final Character DEFAULT_LIST_DELIMITER = ','; + public static final String VERSION_HEADER_IDENTIFIER = "version"; - private CommonsConfigurationUtils() { - } + // usage: default header version of all configurations. + // if properties configuration doesn't contain header version, it will be considered as 1 + public static final String PROPERTIES_CONFIGURATION_HEADER_VERSION_1 = "1"; Review Comment: Maybe keeping a default version: ``` public static final int SEGMENT_METADATA_DEFAULT_VERSION = 1; ``` We probably don't need other constants for versions as version should be int -- 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: commits-unsubscr...@pinot.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org