internalsGet Pro

Module 14 · Lesson 5 of 10Pro

Backfills: rerunning history safely

Level
Intermediate
Topic
Orchestration with Airflow
Reading time
17 min

When you finish this page you can

  1. Choose between a backfill and clearing tasks for a range of past runs, from what is wrong and what each rerun costs.
  2. Make sure a rerun of an old night runs the fixed code, not the version that run started with.
  3. Write a task whose output depends only on its run’s date, so a backfill of many nights gives the right answer.
  4. Size a backfill’s max active runs so it finishes in time without starving the nightly pipeline.
  1. Idempotent pipelines: safe to run twice16 min
  2. Pipeline failures: detection and recovery17 min
  3. Schedules, catchup and data intervals17 min

Twelve nights of payments, ₹7 crore short

On Monday 10 January 2028, Daniel is closing December’s books. Kartly’s payment totals are about 1% below the payment provider’s settlement report. The gap starts on the night of Wednesday 29 December and repeats every night since.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan