Skip to content

Populate MaxConcurrentRebuildsPerDatabase + per-cell rebuild cancellation parity in TryCreateUsage #180

Description

@jeremydmiller

Goal

Polecat parity for JasperFx/marten#4710:

  1. Populate MaxConcurrentRebuildsPerDatabase on the descriptor. Once jasperfx#434 adds the field, Polecat's IEventStore.TryCreateUsage should populate it from the equivalent Polecat projection-graph setting. Pattern mirrors PS#3's polecat#179 (ProjectionErrorHandlingDescriptor).

  2. Per-cell rebuild cancellation semantics. Confirm IProjectionDaemon.RebuildProjectionAsync(name, tenantId, ct) leaves pc_event_progression in a consistent state when the cancellation token fires.

Why

CritterWatch#309 — the long-running projection rebuild orchestration feature — needs identical behaviour from Polecat-backed monitored services to land Polecat parity tests in PR 6 of the implementation plan.

Companions

Out of scope

Per-database cap overrides — matches the Marten-side scope.

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