ChenSammi opened a new pull request, #7930:
URL: https://github.com/apache/ozone/pull/7930

   ## What changes were proposed in this pull request?
   Remove chunkPath and metadataPath from container yaml file
   
   Changes made in this patch,
   1) add a DATANODE_SCHEMA_V4  Datanode Layout feature
   2) add a "4" schemaVersion for container schema V4
   3) behavior 
        1) before feature "DATANODE_SCHEMA_V4" is finalized,  new 
createContainerRequest/importContainer will create V3 container
        2) after feature "DATANODE_SCHEMA_V4" is finalized, 
createContainerRequest will create V4 container. If import a schema V4 
container, it will be automatically converted to V4 schema container.  A schema 
V2 container will not change, remains as a V2 container. 
   
   So if it's a V2/V3 schema container, its yaml file will have chunkPath and  
metadataPath. If it's a V4 schema container, then its yaml file doesn't have  
chunkPath and metadataPath. 
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-6611
   
   ## How was this patch tested?
   1. new unit tests
   2. enabled Schema V4 for some existing unit tests which test container
   


-- 
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]

Reply via email to