Stalled projection
This runbook helps you get a stalled projection or subscription moving again.
Symptoms
Section titled “Symptoms”- The health check is unhealthy and names the consumer.
deedbox.consumer.statusis 2, ordeedbox.consumer.laggrows.- Log event 23 says “stalled on stream …”.
- Run
deedbox status. Find the consumer and its reason. - If the reason is
poison, follow the poison event runbook. - If the reason is
mode_changed, the projection’s run mode changed between deploys. Its old checkpoint belongs to the other mode. Rebuild it:deedbox rebuild <projection> --wait. - If the consumer is
runningbut the health check says it “has not moved”, no instance is running its batches. Check that at least one instance has the runner on and can reach the database. Look for log event 21.