Skip to content

Commit

Permalink
Use latest worker identity for pending activity (#2350)
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminc authored Jan 7, 2022
1 parent ffc6071 commit cf6c03e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/history/historyEngine.go
Original file line number Diff line number Diff line change
Expand Up @@ -1251,7 +1251,7 @@ func (e *historyEngineImpl) DescribeWorkflowExecution(
if ai.RetryLastFailure != nil {
p.LastFailure = ai.RetryLastFailure
}
if ai.RetryLastWorkerIdentity != "" {
if p.LastWorkerIdentity == "" && ai.RetryLastWorkerIdentity != "" {
p.LastWorkerIdentity = ai.RetryLastWorkerIdentity
}
} else {
Expand Down

0 comments on commit cf6c03e

Please sign in to comment.