Skip to content

Prevent exclusive lease inside DB transaction

What does this MR do and why?

Users::Internal.automation_bot can trigger an exclusive lease to create the user so we fetch the bot user outside the DB transaction.

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.

Related to #441527 (closed)

Edited by Heinrich Lee Yu

Merge request reports