Resolve "Remove unused unique indexes related to SBOM tables"
What does this MR do and why?
Drop unique indexes for the sbom_*
tables that are no longer used. They've been replaced with new unique indexes that include organization_id
(sharding key). The new indexes were introduced in 17.3, which is an upgrade stop.
-
Drop idx_sbom_source_packages_on_name_and_purl_type
, replaced byindex_sbom_source_packages_on_name_and_purl_type_and_org_id
. -
Drop index_sbom_components_on_component_type_name_and_purl_type
, replaced byidx_sbom_components_on_name_purl_type_component_type_and_org_id
.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Related to #479190 (closed)
Edited by Fabien Catteau