huangtianhua commented on a change in pull request #2377:
URL: https://github.com/apache/hadoop/pull/2377#discussion_r513209898



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeLayoutVersion.java
##########
@@ -89,7 +89,8 @@ public static boolean supports(final LayoutFeature f, final 
int lv) {
     APPEND_NEW_BLOCK(-62, -61, "Support appending to new block"),
     QUOTA_BY_STORAGE_TYPE(-63, -61, "Support quota for specific storage 
types"),
     ERASURE_CODING(-64, -61, "Support erasure coding"),
-    EXPANDED_STRING_TABLE(-65, -61, "Support expanded string table in 
fsimage");
+    EXPANDED_STRING_TABLE(-65, -61, "Support expanded string table in 
fsimage"),
+    NVDIMM_SUPPORT(-66, -66, "Support NVDIMM storage type");

Review comment:
       As the comment above said: 
        If the feature cannot satisfy compatibility with any prior version, 
then set its minimum compatible lqyout version to itself to indicate that 
downgrade is impossible.
   
   Or maybe we missed something?
   




----------------------------------------------------------------
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: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to