Skip to content

reconcile takes >35 min on a 260k-record delivery while match takes 5 s #1409

Done

Description

@athvin

Measured on er-dev during #561 (2026-11-29), org p3live, class M on runner-sm. A single 260k-record crm delivery (259,936 rows, 30% perturbed duplicates; generator in the #561 ledger) as a run_all_incremental over an empty lake:

task wall
ingest 1m53s
standardize 26s
match 5s
reconcile >35 min, never finished (cancelled, then relaunched for 12+ min)

The scheduled correct job's reconcile over the same corpus also ran 20+ minutes before it was cancelled.

So reconcile is orders of magnitude slower than match at a size the product must handle, and #558's 10M run cannot complete until it is understood. A long reconcile also holds the dataset's writer slot, which blocked three deploys' er-tenant-migrate hooks.

Done when reconcile on this 260k delivery is profiled (which statement dominates: clustering, the membership prune, or the constraint never pass), the dominant cost is fixed or bounded, and its wall time is recorded next to match's.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions