[Engine-devel] DB Upgrade doesn't work

Ofer Schreiber oschreib at redhat.com
Tue Feb 14 07:26:15 UTC 2012


I've recently opened https://bugzilla.redhat.com/show_bug.cgi?id=790303 (Upgrade from first release doesn't work).

Generally, the DB upgrade scripts tries to run only scripts with higher number than the last script that ran.
But if a new release includes dbscrips with lower number, they'll never run, and cause DB upgrade issue.
Such a situation is not rare, since we cherry-pick patches into a build branch, so the build branch might look like:
a, b, c, f, h
and the master might look like
a, b, c, d, e, f, g, h, i

So with the current code, only scripts higher then "h" will run.

This issue is blocking the upgrade utility of ovirt-engine. any estimination on a fix date?

Thanks,
Ofer Schreiber.



More information about the Engine-devel mailing list