Skip to content
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

Handle NULL in default/actual values in vdc_options #300

Conversation

mwperina
Copy link
Member

We have discovered that some users still have some ancient options
present in vdc_options (even though they should be removed now), which
contains NULL in default/actual values.
We have fixed fn_db_change_column_type to properly set NULL/NOT NULL
constraints in https://gerrit.ovirt.org/117448 , but we missed above
that ancient options mentioned above still could exist, so we need to
fix those NULL default/actual values before setiing NOT NULL constrain.

Bug-Url: https://bugzilla.redhat.com/2077387
Signed-off-by: Martin Perina mperina@redhat.com

We have discovered that some users still have some ancient options
present in vdc_options (even though they should be removed now), which
contains NULL in default/actual values.
We have fixed fn_db_change_column_type to properly set NULL/NOT NULL
constraints in https://gerrit.ovirt.org/117448 , but we missed above
that ancient options mentioned above still could exist, so we need to
fix those NULL default/actual values before setiing NOT NULL constrain.

Bug-Url: https://bugzilla.redhat.com/2077387
Signed-off-by: Martin Perina <mperina@redhat.com>
@mwperina mwperina force-pushed the handle-null-default-values-backport branch from 58c4bf8 to 5ff0a06 Compare April 25, 2022 12:47
@michalskrivanek michalskrivanek merged commit c9462ac into oVirt:ovirt-engine-4.5.0.z Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants