Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-3277

Invalid timezone transition handling for cron schedules

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.10.0
    • Fix Version/s: 1.10.1
    • Component/s: None
    • Labels:
      None

      Description

      `following_schedule` converts to naive time by using the local time zone. In case of a DST transition, say 3AM -> 2AM ("summer time to winter time") we generate date times that could overlap with earlier schedules. Therefore a DAG that should run every 5 minutes will not do so if it has already seen the schedule.

      We should not convert to naive and keep UTC.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bolke Bolke de Bruin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: