4625
ai, ok := ms.GetActivityInfo(scheduledEventID)
4626
if !ok {
4627
>
// It is possible both started and completed events are buffered for this activity
mutable_state_impl.go
4628
>
if !ms.hBuilder.HasActivityFinishEvent(scheduledEventID) {
4629
>
ms.logWarn(mutableStateInvalidHistoryActionMsg, opTag,
4630
>
tag.WorkflowEventID(ms.GetNextEventID()),
4631
>
tag.ErrorTypeInvalidHistoryAction,
4632
>
tag.Bool("hasActivityInfo", ok),
4633
>
tag.WorkflowScheduledEventID(scheduledEventID))
4634
>
4635
>
return nil, nil, ms.createCallerError(opTag, fmt.Sprintf("ScheduledEventID: %d", scheduledEventID))
4636
>
}
4637
}
4638