Class TsakAssignmentProps

Assembly: redb.Tsak.Core.Pro.dll

Redb props class for module-to-node assignment (live scheduling).
Leader creates/updates assignments; each node reads its own assignments
and starts/stops modules accordingly.

[RedbScheme("_tsak_assignments")]
public class TsakAssignmentProps

Inheritance

Object→TsakAssignmentProps

Properties

AssignedAt

Timestamp when the assignment was created or last updated.

public DateTimeOffset AssignedAt { get; set; }

ClusterName

Cluster this assignment is scoped to. Null on a record written before cluster isolation

public string? ClusterName { get; set; }

Epoch

Monotonic epoch counter for fencing stale assignments.

public long Epoch { get; set; }

GroupName

Cluster group this assignment is scoped to.

public string GroupName { get; set; }

ModuleName

Module name being assigned.

public string ModuleName { get; set; }

NodeId

Target node ID where the module should run.

public string NodeId { get; set; }

State

Current state of this assignment.

public int State { get; set; }