Skip to content

Only upsert non-existing continuous vulnerability scanning scanner instances

What does this MR do and why?

The returned results are excluded from the batch/bulk upsert that is attempted by the BulkInsertableTask. This action holds a lock on the affected rows, so it's beneficial to exclude pre-existing instances whenever possible, and lessen the amount of locks required.

Closes #474722 (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.

Edited by Oscar Tovar

Merge request reports

Loading