avijayanhwx opened a new pull request #1405:
URL: https://github.com/apache/hadoop-ozone/pull/1405


   ## What changes were proposed in this pull request?
   - Implement Generic factory which stores different instances of Type 'T' 
sharded by a key & version. A single key can be associated with different 
versions of 'T'. This is to support a typical use case during upgrade to have 
multiple versions of a class / method / object and chose them based  on current 
layout version at runtime. Before finalizing, an older version is typically 
needed, and after finalize, a newer version is needed.
   - Using the generic factory, we scan all the different OM "write" requests 
and associate them with versions.
   - Persist current MLV to Ratis requests.
   - Layout feature code refactoring. Added more comments and tests.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-4141
   https://issues.apache.org/jira/browse/HDDS-4143
   
   ## How was this patch tested?
   Unit tested.


----------------------------------------------------------------
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:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to