swamirishi commented on code in PR #6932: URL: https://github.com/apache/ozone/pull/6932#discussion_r1890534028
########## hadoop-hdds/annotations/src/main/java/org/apache/ozone/annotations/OmRequestFeatureValidatorProcessor.java: ########## Review Comment: We need not validate versions. We should allow future version validators as well. In that case we should just execute future versions. When the version is negative we run validators which match exactly that version. https://github.com/apache/ozone/blob/9cf34be40477074583cec1548793f7ccd83f34d5/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/validation/VersionExtractor.java#L51-L52 https://github.com/apache/ozone/blob/889e0812cea72c9fc6625f8e797e08dedf86b507/hadoop-ozone/common/src/main/java/org/apache/hadoop/ozone/request/validation/ValidatorRegistry.java#L160-L162 -- 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]
