Class DeployAdviceResponse

Assembly: redb.Tsak.Contracts.dll

How to deploy a new package on a node, from GET /api/health/deploy: the status code says it alone (200
, 409 ). The endpoint only advises; the
orchestrator deploys.

public sealed record DeployAdviceResponse : IEquatable<DeployAdviceResponse>

Inheritance

Object→DeployAdviceResponse

Implements

Properties

Collectible

Whether replaced module versions are unloaded (Tsak:HotReload:Collectible).

public bool Collectible { get; init; }

MaxOrphanedModuleContexts

The limit of (Tsak:HotReload:MaxOrphanedContexts).

public int MaxOrphanedModuleContexts { get; init; }

MaxWorkingSetMb

The limit of (Tsak:HotReload:MaxWorkingSetMb); null when none is set.

public double? MaxWorkingSetMb { get; init; }

ModuleContextsAlive

Module load contexts in memory.

public int ModuleContextsAlive { get; init; }

NodeId

The node that answers: the cluster node id, or the machine name outside a cluster.

public required string NodeId { get; init; }

OrphanedModuleContexts

Module load contexts in memory after their modules were replaced or removed.

public int OrphanedModuleContexts { get; init; }

Reasons

Why a cold deploy, as codes of ; empty for a hot swap.

public IReadOnlyList<string> Reasons { get; init; }

Timestamp

When the advice was taken.

public DateTime Timestamp { get; init; }

Verdict

or .

public required string Verdict { get; init; }

WorkingSetMb

The working set of the process, in MB.

public double WorkingSetMb { get; init; }