Implement durable image processing pipeline with outbox and recovery
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
CREATE TABLE pipeline_fault_injections (
|
||||
job_id UUID NOT NULL REFERENCES attachment_jobs(id),
|
||||
stage TEXT NOT NULL CHECK (stage IN ('before_ack')),
|
||||
created_at TIMESTAMPTZ NOT NULL DEFAULT clock_timestamp(),
|
||||
consumed_at TIMESTAMPTZ,
|
||||
|
||||
PRIMARY KEY (job_id, stage)
|
||||
);
|
||||
Reference in New Issue
Block a user