Skip to content
Ameen Abozaid
Planned lessonSRB-001-L08

Demo: rebuilding a broken projection from the event store

  • Lesson 8 of 8
  • Senior B
On This Lesson 3 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

recover a read model that has wrong data, without downtime.

Draft outline details

Step by step

  1. Show the symptom: Shop's tracking page shows Delivered shipments as In transit.
  2. Find the bug in the projection handler and fix it in a new projection version.
  3. Rebuild into a new table in parallel from position zero, tracking progress.
  4. Planned mistake: switch readers before the rebuild catches up; fix by comparing positions and counts, then switching with a flag.
  5. Drop the old table after a soak period and add a rebuild runbook.

Prepares SRB-001-LAB1.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Type to search levels, phases, modules and lessons.