swamirishi commented on code in PR #6932: URL: https://github.com/apache/ozone/pull/6932#discussion_r1676509051
########## hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/validation/ValidatorRegistry.java: ########## @@ -46,6 +52,9 @@ public class ValidatorRegistry { private final EnumMap<ValidationCondition, EnumMap<Type, EnumMap<RequestProcessingPhase, List<Method>>>> validators = new EnumMap<>(ValidationCondition.class); + private final Map<Pair<Type, RequestProcessingPhase>, Pair<List<Method>, TreeMap<Integer, Integer>>> + maxAllowedVersionValidatorMap = new HashMap<>(Type.values().length * RequestProcessingPhase.values().length, + 1.0f); Review Comment: What do we do for the CLUSTER_NEEDS_FINALIZATION ? -- 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...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org