Skip to content

Commit

Permalink
Bugfix: continue as new timer is not set (uber#1337)
Browse files Browse the repository at this point in the history
  • Loading branch information
wxing1292 authored Dec 15, 2018
1 parent 59d60b6 commit 893c0a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions service/history/shardContext.go
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,11 @@ func (s *shardContextImpl) UpdateWorkflowExecution(request *persistence.UpdateWo
task.SetTaskID(id)
transferMaxReadLevel = id
}

err = s.allocateTimerIDsLocked(request.ContinueAsNew.TimerTasks, request.ExecutionInfo.DomainID, request.ExecutionInfo.WorkflowID)
if err != nil {
return nil, err
}
}
defer s.updateMaxReadLevelLocked(transferMaxReadLevel)

Expand Down

0 comments on commit 893c0a7

Please sign in to comment.