Skip to content

Commit

Permalink
Fix handling of CurrentWorkflowConditionFailedError when create wf (c…
Browse files Browse the repository at this point in the history
  • Loading branch information
vancexu authored and yux0 committed May 4, 2021
1 parent 68c9e8c commit e2780bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/history/shard/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,7 @@ Create_Loop:
switch err.(type) {
case *shared.WorkflowExecutionAlreadyStartedError,
*persistence.WorkflowExecutionAlreadyStartedError,
*persistence.CurrentWorkflowConditionFailedError,
*shared.ServiceBusyError,
*persistence.TimeoutError,
*shared.LimitExceededError:
Expand Down

0 comments on commit e2780bc

Please sign in to comment.