Deadlock Retry Strategy

Posts   
 
    
nathanc
User
Posts: 2
Joined: 19-Dec-2019
# Posted on: 19-Dec-2019 18:59:55   

Is there an LLBL equivalent to EF's DbExecutionStrategy? The problem I'm trying to mitigate are occupational deadlocks. What we need to be able to do is retry 1 or 2 times should a deadlock occur.

Walaa avatar
Walaa
Support Team
Posts: 14946
Joined: 21-Aug-2005
# Posted on: 19-Dec-2019 20:08:04   

You can use the provided SimpleRetryRecoveryStrategy

nathanc
User
Posts: 2
Joined: 19-Dec-2019
# Posted on: 19-Dec-2019 20:16:52   

Thanks. I'll give that a try.