We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e9134f commit 00f70b7Copy full SHA for 00f70b7
src/DurableTask.Core/Entities/OrchestrationEntityContext.cs
@@ -187,7 +187,7 @@ public bool ValidateAcquireTransition(out string? errorMessage)
187
/// <param name="targetInstanceId"></param>
188
public void RecoverLockAfterCall(string targetInstanceId)
189
{
190
- if (this.IsInsideCriticalSection)
+ if (this.IsInsideCriticalSection && !this.lockAcquisitionPending)
191
192
var lockToUse = EntityId.FromString(targetInstanceId);
193
this.availableLocks!.Add(lockToUse);
0 commit comments