Update webhook failure state using a lease
What does this MR do and why?
This change ensures that the failure state writes for webhooks work from the latest data. This will help when there are concurrent writes happening due to many WebHooks::LogExecutionWorker
jobs processing for the same hook.
- Issue: #352245 (closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #352245 (closed)
Edited by Luke Duncalfe