linyiqun commented on a change in pull request #1473: URL: https://github.com/apache/hadoop-ozone/pull/1473#discussion_r502393095
########## File path: hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmMetadataManagerImpl.java ########## @@ -227,6 +247,9 @@ protected OmMetadataManagerImpl() { @Override public Table<String, OmKeyInfo> getOpenKeyTable() { + if (enableFSPaths && OzoneManagerRatisUtils.isOmLayoutVersionV1()) { Review comment: @rakeshadr , the V1 feature is a new key format and is not compatible with old format. enableFSPaths flag behaves as a switch here, why we remove this? Not so fully understand this. Without enableFSPaths check, we will directly use new key format by default once V1 feature is supported. Please correct me if I am wrong. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org