Francois Gerthoffert created UNOMI-849:
------------------------------------------

             Summary: Improve Unomi migration procedure by automatically 
executing migration scripts
                 Key: UNOMI-849
                 URL: https://issues.apache.org/jira/browse/UNOMI-849
             Project: Apache Unomi
          Issue Type: Improvement
            Reporter: Francois Gerthoffert
             Fix For: unomi-2.6.0


When datamodel changes are present between versions of unomi, migration script 
are present to handle the transformation.

These scripts have to be launched manually (using unomi:migrate) during the 
migration procedure, but the challenge is that they can only be launched on one 
single unomi node while all the other nodes are shut down.

We're in a situation where an upgrade is simple when there are no data model 
changes, but more tedious when there are. Since we do not automatically know 
when such migration scripts need to be executed, it is prone to error (either 
we remember to indicate this in the changelog notes, or we request it to be 
done for every single upgrade even if there are no changes requiring migration 
scripts).

This ticket aims to improve the migration procedure by having the necessary 
migration scripts executed automatically when starting a newer version of Unomi.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to