adoroszlai opened a new pull request #1928:
URL: https://github.com/apache/ozone/pull/1928


   ## What changes were proposed in this pull request?
   
   As of now, `upgrade` acceptance test verifies upgrade from Ozone 0.5.0 to 
"current", ie. the commit being built.  It has an `OZONE_UPGRADE_TO` variable, 
but its value is not really relevant to which version is run after the 
"upgrade".
   
   This PR introduces the following changes:
   
    1. Test upgrade from multiple earlier versions, eg. from 0.5.0 or 1.0.0.
    2. Extract parts of the `upgrade` test script to two libraries (the 
existing main lib and an upgrade-specific one).
    3. Split `upgrade` test script:
       * `upgrade_to_current`: test upgrade from a release to the current 
binaries,
       * `upgrade_to_release`: test upgrade from one release to a later one.
    4. Improve the scripts which define version-specific behavior: instead of 
just declaring variables, define functions to activate/deactivate behavior of a 
specific version.
    5. Introduce "logical version" to be able to upgrade across multiple 
versions (eg. from 0.5.0 to 1.1.0).
   
   https://issues.apache.org/jira/browse/HDDS-4741
   
   ## How was this patch tested?
   
   Regular CI now runs `upgrade_to_current.sh` from both 0.5.0 and 1.0.0:
   https://github.com/adoroszlai/hadoop-ozone/runs/1912441301
   
   Also tested `upgrade_to_release.sh` manually.


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