-
Notifications
You must be signed in to change notification settings - Fork 431
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
Remove deprecated hosts
table columns (gigs_disk_space_available
and percent_disk_space_available
)
#7855
Comments
@lukeheath as a follow-up to #7592 , we should plan this in a not-too-distance future release, to prevent keeping obsolete columns around. |
@mna Great point, thanks for creating this card. I've brought it into the "Specified" column so we can estimate in and get it prioritized. |
hosts
table columns (gigs_disk_space_available
and percent_disk_space_available
)hosts
table columns (gigs_disk_space_available
and percent_disk_space_available
and os_versions
)
The |
Quite fast with 40K+ hosts on my laptop.
|
hosts
table columns (gigs_disk_space_available
and percent_disk_space_available
and os_versions
)hosts
table columns (gigs_disk_space_available
and percent_disk_space_available
)
Goal
With the work done on #7592 , the host's disk space information has been moved from the
hosts
table to thehost_disks
table, and a lazy migration approach was used to make migrating fast (i.e. the information from thehosts
table was not copied to the new table, instead we waited for the hosts to report their disk space data again, and inserted it in the new table at that moment - see #7592 (comment)).In a subsequent release, we should add a migration to remove the now-deprecated
gigs_disk_space_available
andpercent_disk_space_available
fields in thehosts
table.How?
Frontend
No impact.
Backend
Implement a migration to remove those two columns. Test with many hosts in the table, to make sure the migration is still reasonably fast.
If
os_versions
is no longer being used, please remove it. If it is still being used and will take more than an hour to fix, let's address it later.The text was updated successfully, but these errors were encountered: