Skip to content

Commit

Permalink
Do not generate sync activity task for deleted activity (#2572)
Browse files Browse the repository at this point in the history
  • Loading branch information
yycptt authored Mar 4, 2022
1 parent 441f7e0 commit db40f02
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/history/workflow/mutable_state_impl.go
Original file line number Diff line number Diff line change
Expand Up @@ -1048,6 +1048,7 @@ func (e *MutableStateImpl) DeleteActivity(
}

delete(e.updateActivityInfos, scheduleEventID)
delete(e.syncActivityTasks, scheduleEventID)
e.deleteActivityInfos[scheduleEventID] = struct{}{}
return nil
}
Expand Down

0 comments on commit db40f02

Please sign in to comment.