Zum Hauptinhalt springen

RecomputeJobState

Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData

Lifecycle state of a single archive recompute run (AB#4184). Engine-managed. Mirrors the CkRecomputeJobState CK enum (System.StreamData ≥ 1.6.0); key values match so the snapshot maps by a direct cast.

public enum RecomputeJobState

Inheritance Object → ValueType → Enum → RecomputeJobState
Implements IComparable, ISpanFormattable, IFormattable, IConvertible

Fields​

NameValueDescription
Pending0The job is scheduled but compute has not started yet.
Running1Recomputed buckets are being written into the per-job staging table. Readers still see the previous state.
Swapping2Staging is complete and the atomic commit (full-archive SWAP TABLE or per-window generation-pointer flip) is in progress.
Completed3The recompute committed atomically; readers now see the new values.
Failed4The job failed before committing. Staging is discarded; the previous archive state is intact and consumers never saw a partial result.
Coalesced5The triggering request was merged into an already-active job for the same archive (its range was folded into that job).