You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement a minimum node database version verification when running a database migration (useful with squash migration).
If the current database version is strictly below the squashed version, it means that the previous migrations done incrementally must be applied (and they are available only in the previous versions of the node) as the squashed version can not be applied as is. A minimum version of the node to play the update sequentially should be returned to the user in that case.
What
Implement a minimum version of the node needed when there is a gap between the last version of the database and the next version to be played (which is squashed).
How
Label squashed versions in the database migration tool
Detect a conflict if there is a gap between the versions (current and next to be applied which is squashed)
Display an error message with a minimum node version compatible to run the migrations sequentially
Adapt the migrations for:
aggregator (2 migrations)
signer (2 migrations)
The text was updated successfully, but these errors were encountered:
Why
Implement a minimum node database version verification when running a database migration (useful with squash migration).
If the current database version is strictly below the squashed version, it means that the previous migrations done incrementally must be applied (and they are available only in the previous versions of the node) as the squashed version can not be applied as is. A minimum version of the node to play the update sequentially should be returned to the user in that case.
What
Implement a minimum version of the node needed when there is a gap between the last version of the database and the next version to be played (which is squashed).
How
The text was updated successfully, but these errors were encountered: