GetClusterStatusResponse

Field

Type

Repeated

Description

self

string

This member’s node name.

primary

bool

Whether this member is the primary (the one running the NodeController and the cloud providers). A standby forwards operator calls to it.

epoch

uint64

The epoch the current primary promoted under; every promotion bumps it. 0 before the first promotion this member knows of.

leader

OptionalString

The member this member believes leads the store, if any.

members

ClusterMember

✅

Every member of the store, from this member’s view.

joined

bool

False while a new member is still joining the cluster it was told to.

generation

uint64

The store’s generation: 1 until a forced standalone (ForceStandalone) bumps it; a member whose copy is at a lower generation than a reachable peer’s wipes its copy and rejoins.

standalone

StandaloneStatus

Present while the cluster runs as one member after a ForceStandalone, until every former member has rejoined.

configured

string

✅

Every member the cluster expects: config.yaml’s list, then those added at run time (AddClusterMember), whether or not they are members now. A name here and not in members is a member that has not joined (yet, or again).

Argument of

Method

Description

GetClusterStatus

The Manager cluster as this member sees it: who is in it, which member is the primary, and the epoch the primary is acting under. A lone Manager is a cluster of one, and its own primary.