drupflare/worker - v1.0.4
    Preparing search index...

    Function planForward

    • Whether the primary may commit a batch a lane executed speculatively.

      The parent check is the whole ordering guarantee: a batch built on a generation the primary has moved past is a lost update. An origination hazard is refused rather than conflicted, since a retry cannot fix it.

      Parameters

      • input: {
            parent: number;
            partitioned?: readonly string[];
            primaryGeneration: number;
            statements: readonly ForwardStatement[];
        }
        • parent: number
        • Optionalpartitioned?: readonly string[]

          tables the lane may originate for, from what its driver reported minting

          Built by partitionedTables and re-filtered here because it crosses the wire.

        • primaryGeneration: number
        • statements: readonly ForwardStatement[]

      Returns ForwardPlan