Skip to content

Broadside: Correct Postgres ingestion ordering and nil safety#4736

Merged
mauriceyap merged 1 commit intomasterfrom
broadside-fix-postgres-ingestion-ordering
Mar 3, 2026
Merged

Broadside: Correct Postgres ingestion ordering and nil safety#4736
mauriceyap merged 1 commit intomasterfrom
broadside-fix-postgres-ingestion-ordering

Conversation

@mauriceyap
Copy link
Collaborator

Replace the parallel COPY-based ExecuteIngestionQueryBatch with explicit sequential phases matching the production Lookout ingester: job rows are committed before job runs are inserted, and inserts complete before updates.

Replace the parallel COPY-based ExecuteIngestionQueryBatch with explicit
sequential phases matching the production Lookout ingester: job rows are
committed before job runs are inserted, and inserts complete before updates.

Conflation (last-write-wins per job/run ID) is applied in
queriesToInstructionSet before the instructions reach the database.

Signed-off-by: Maurice Yap <mauriceyap@hotmail.co.uk>
@mauriceyap mauriceyap changed the title Boradside: Correct Postgres ingestion ordering and nil safety Broadside: Correct Postgres ingestion ordering and nil safety Mar 3, 2026
@mauriceyap mauriceyap merged commit 93b732b into master Mar 3, 2026
16 checks passed
@mauriceyap mauriceyap deleted the broadside-fix-postgres-ingestion-ordering branch March 3, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants