DiscoveryFleet

The fleet as the Manager holds it (GetDiscoveryFleet). Protocol 1.7.

Field

Type

Repeated

Description

published

bool

False when norsk-mgr has never published one; the rest is then empty.

address

string

addresses

string

✅

token

string

tier_secret

string

tier_secret_alt

string

A tier-secret rotation under way: the second secret replicas also accept (NORSK_DISCOVERY_PEER_TOKEN_ALT), and how far it has got — "staged" (the new one accepted, the current one still presented and minting node tokens) or "flipped" (the new one presented and minting, the old one still accepted). Empty when none is.

rotation_phase

string

Argument of

Method

Description

GetDiscoveryFleet

The fleet in force, secrets included: what a norsk-mgr that is not the publisher (a standby member’s) needs to start its own replica. Protocol 1.7.

RotateDiscoveryTierSecret

Rotate the fleet’s tier secret in the daemon’s three steps, each once every replica has taken the one before: STAGE (replicas also accept a new secret), FLIP (they present it, and every node is sent a node token minted from it), FINISH (the old one is no longer accepted). Refused (FAILED_PRECONDITION) out of order. Protocol 1.7.