[go: up one dir, main page]

Skip to content

Finalize BackfillArchivedAndTraversalIdsToVulnerabilityStatistics

Why are we doing this work

The batched background migration BackfillArchivedAndTraversalIdsToVulnerabilityStatistics introduced in Resolve "Backfill vulnerability_statistics.trav... (!177993 - merged) needs to be finalized.

By finalizing BackfillArchivedAndTraversalIdsToVulnerabilityStatistics, we ensure that the new traversal_ids and archived added to vulnerability_statistics are set in all GitLab instances. This allows to use SQL queries that use these columns, and to enable the corresponding feature flags by default. Eventually, this allows us to clean up these flags, and to remove the SQL queries that cause cross-database joins.

Relevant links

#513030 (comment 2329659760)

Non-functional requirements

  • Documentation:
  • Feature flag:
  • Performance:
  • Testing:

Implementation plan

Verification steps

/cc @ghavenga