@earth-app/collegedb
    Preparing search index...

    Interface ReconcileOptions

    Options for reconcileAllocations. Every write is off by default.

    1.4.0

    interface ReconcileOptions {
        limit?: number;
        pruneVerified?: boolean;
        repair?: boolean;
        signal?: AbortSignal;
        verifyRecords?: { tables: { pkColumn?: string; table: string }[] };
    }
    Index
    limit?: number

    Ledger rows per coordinator page. Defaults to 100.

    pruneVerified?: boolean

    Remove ledger rows that agree with routing and have an explicit KV mapping. With verifyRecords, the row must also exist on the routed shard.

    repair?: boolean

    Write a KV mapping from the ledger shard for keys that have none, but only when the row exists on that shard. Requires verifyRecords.

    signal?: AbortSignal

    Checked between pages. An aborted signal rejects the run.

    verifyRecords?: { tables: { pkColumn?: string; table: string }[] }

    Probe the routed shard for each key's row in the listed tables. Without this, no shard is queried. pkColumn defaults to id.