Bulk insert CVS vulnerability scanners
What does this MR do and why?
Bulk insert CVS vulnerability scanners
This improves the efficiency of scans by removing an N+1 query issue that was adopted in the transition to global type scans (scans that cover many projects at once). Previously, we tried to upsert scanners N times (N being the number of projects in a scan), and as a result put a lot of unnecessary pressure on the database. This should reduce the WAL in theory, and overall improve the performance of the scanner.
Closes #442685 (closed)
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.