138
if err != nil {
139
if _, isNotFound := err.(*serviceerror.NotFound); isNotFound {
140
>
// workflow history no longer exists, may due to duplicated archival signal
history_archiver.go
141
>
// this may happen even in the middle of iterating history as two archival signals
142
>
// can be processed concurrently.
143
>
logger.Info(archiver.ArchiveSkippedInfoMsg)
144
>
return nil
145
>
}
146
147
logger = log.With(logger, tag.ArchivalArchiveFailReason(archiver.ErrReasonReadHistory), tag.Error(err))