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

   **DRAFT** Builds on #11006
   
   ## What changes were proposed in this pull request?
   
   ### Background
   
   ZDU is the first version that supports the unified versioning framework, 
where network and disk compatibility are tracked with the same version. 
Therefore, we cannot use this framework before ZDU is finalized. The existing 
VersionManager already handles this for disk compatibility. It will read from 
the old layout feature enums until ZDU is finalized. We need similar handling 
for the component version sent over the network to clients. We cannot send the 
unified version framework's apparent version to clients until ZDU is finalized, 
otherwise we may be sending them a layout feature when they are expecting a 
component version. When ZDU is pre-finalized, we must send the last component 
version before ZDU to clients. Finalizing ZDU moves both version systems ahead 
to the unified one that starts with ZDU, where one apparent version can be 
shared over both disk and network.
   
   This has been handled for Datanodes in #11006, which also added the common 
`getVersionForClient` method and unit test we will use for OM as well.
   
   ## What is the link to the Apache JIRA
   
   HDDS-16190
   
   ## How was this patch tested?
   
   - Existing unit test in #11006 covers the version returned by 
`OmVersionManager`
   - Integration test added to check the version returned in a live HA cluster 
before and after finalization.
   


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