currHistoryBatches, err := i.readHistory(ctx, firstEventID)
if _, isNotFound := err.(*serviceerror.NotFound); isNotFound && firstEventID != common.FirstEventID {
return historyBatches, newIterState, nil
}
if err != nil {
return nil, newIterState, err