adoroszlai commented on code in PR #8404:
URL: https://github.com/apache/ozone/pull/8404#discussion_r2635079578
##########
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/file/OMDirectoryCreateRequest.java:
##########
@@ -262,10 +263,10 @@ private void logResult(CreateDirectoryRequest
createDirectoryRequest,
}
}
- @RequestFeatureValidator(
- conditions = ValidationCondition.CLUSTER_NEEDS_FINALIZATION,
+ @OMLayoutVersionValidator(
processingPhase = RequestProcessingPhase.PRE_PROCESS,
- requestType = Type.CreateDirectory
+ requestType = Type.CreateDirectory,
+ applyBefore = OMLayoutFeature.ERASURE_CODED_STORAGE_SUPPORT
Review Comment:
Please simply replace the two changed lines instead of moving things around.
```diff
- @RequestFeatureValidator(
- conditions = ValidationCondition.CLUSTER_NEEDS_FINALIZATION,
+ @OMLayoutVersionValidator(
+ applyBefore = OMLayoutFeature.ERASURE_CODED_STORAGE_SUPPORT,
```
--
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]