Remove usage of Vulnerabilities::BulkEsOperationService inside DB transaction

Vulnerabilities::BulkEsOperationService.new(...).execute internally makes a Redis call as part of Elastic::ProcessBookkeepingService.track! here to update references for ES bookkeeping.

Ideally, a transaction should only contain database statements.

Avoid doing in a transaction block:

External network requests such as: Triggering Sidekiq jobs.

👆🏻 As per DB development guidelines, transactions has to be light weight and external calls even Redis are not recommended.

Creating this issue to identify places in the code base where Vulnerabilities::BulkEsOperationService.new(...).execute is used inside DB transaction and move them outside the transaction.

For context see:

  1. !193908 (comment 2555193790)
  2. !193908 (comment 2556376394)
Edited by 🤖 GitLab Bot 🤖