carlos / platform Public

fleet-skip-ha-ingress-scan

host: fleet boxes skip the startup HA ingress record scan (#964)

On a fleet box (its region a fleet placement) the startup HA ingress pass ran the full judged instance scan: it listed accounts/ and apps/ (which the store door scopes to the box's own account) and read every record, up to four times per start. HAIngressRoutesFromRecords leaves out every record placed on a fleet, so that scan could never produce a forwarding route there. refreshHAIngressAtStart now publishes the empty projection at once on a fleet box and reads no records; the startup alias pass still runs. Every other box is unchanged.

The periodic pass needs no change for this: on a fleet box its scan is the instance reconcile's own, which the box needs for its instances, and the HA ingress hook adds no reads there (a fleet placement never reaches the tombstone or manifest reads). Narrowing that scan to the box's own records is #964 follow-up (b).

TestHAIngressStartupFleetBoxListsNoRecords: a fleet box's startup makes no accounts/ or apps/ listing and publishes an empty projection; a platform box (the control) still lists both. Removing the skip fails it.

Census: refreshHAIngressAtStart body change, census-ruling-fleet-skip-ha-ingress-scan.

Commits 4
Discussions 0 0 open
Tasks 0/0 done

Discussions

  • No discussions on this branch yet.

Tasks

  • No tasks yet.

Activity