Skip to content

Conditionally raise when lease cannot be obtained in LogExecutionService

What does this MR do and why?

This MR conditionally raises when a lease cannot be obtained in LogExecutionService.

When we fail to obtain a lease, only allow the error to be raised if the hook's failure state needs to be updated. This will have the effect that the worker that calls the service will only retry when it needs to.

!81770 (comment 856943572)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #352245 (closed)

Edited by Luke Duncalfe

Merge request reports

Loading