New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to run new "data" upgrade tasks #24681
Comments
SolutionThe code allows to define a new group of upgrade tasks, Data Upgrade task, those upgrade tasks are mostly tasks to solve data issues using our existing APIs and to avoid conflicts the Data Upgrade Tasks are going to run at the very end of the startup process to avoid issues with the Schema (regular) upgrade tasks. Now, two version tables will exist, the existing To define a new data upgrade tasks we just need to create a regular upgrade task but instead of registering the class inside |
PR: #24710 |
we had a situation where a new upgrade task (A) was built using some of our existing API. I stumbled onto this situation while working on upgrade task B. |
Fixed, tested running the upgrade task on release-23.06 // Docker and this is working as expected
After this UT runs once this is not running anymore. data_version table created and just one register on it. |
Parent Issue
#24093
User Story
There are some cases when we need to call the APIs from an upgrade task, calling those upgrade tasks together with the regular "schema" upgrade task can cause multiple problems, that's why, we need to be able to run those "data" upgrade tasks after the regular "schema" upgrade tasks finished.
Acceptance Criteria
Allow to create "Data" Upgrade tasks and to be called after regular "Schema" upgrade tasks are done.
Proposed Objective
Core Features
Proposed Priority
Priority 2 - Important
The text was updated successfully, but these errors were encountered: