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 #297

Merged
merged 1 commit into from
Apr 22, 2022

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 requested a review from emesika as a code owner April 22, 2022 09:00
@mwperina
Copy link
Member Author

/ost

1 similar comment
@mwperina
Copy link
Member Author

/ost

@mwperina mwperina merged commit edb9cdd into oVirt:master Apr 22, 2022
@mwperina mwperina deleted the handle-null-default-values branch April 22, 2022 16:42
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

2 participants