Galaxy: deploy-added alarm conditions stay 'unknown' until the gateway stream reopens #925
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A1 Galaxy initial-state signal (
GatewayGalaxyAlarmFeedSnapshotDelivered) fires on every snapshot_complete sentinel. A sentinel comes only when the gateway stream opens or reopens.Problem: a condition added by a deploy while the stream is up becomes known only at the next reopen. On a stable stream it stays unknown (Uncertain on the consumer) until then, and the F5 diagnostic eventually flags it. This is safe for the T2 invariant, but a deploy-added Galaxy alarm can stay Uncertain indefinitely.
Proposal: when the subscribed alarm set changes, have the driver request a fresh snapshot or sentinel from mxaccessgw if the gateway supports one. If it doesn't, file the matching mxaccessgw issue.
The A1 review also asked for F5 to be re-armed for refs a deploy adds; that makes the stall visible but does not resolve it. Source: the A1 drivers log in
docs/plans/evidence/grpc-data-ext/A1-core.md.Fixed on master
4ac83085(merge34ffc0a0). The driver calls mxaccessgw QueryActiveAlarms (already in client 0.4.0, no gateway change needed) when the subscription changes after the stream sentinel, replays entries as snapshot entries (live full-state messages supersede; an ack-only touch merges; a stream reopen during the query drops the replay) and then signals initial state. Single-flight + coalesced, 3 retries, Unimplemented not retried. F5 re-arm already existed. Not live-gated (wonder-box hold). Docs: docs/drivers/Galaxy.md #925 section.