pageserver deploy: .../location_config
: heatmap upload fails with noisy WARN message
#9575
Labels
a/observability
Area: related to observability
c/storage/pageserver
Component: storage: pageserver
t/bug
Issue Type: Bug
Problem
During pageserver deploys,
/location_config
calls that request heatmap flush (flush_ms=Some(...)
) create noise WARN messages because the secondary_controller shuts down before the mgmt APICode
neon/pageserver/src/http/routes.rs
Lines 1594 to 1606 in 34b6bd4
Solution
Introduce distinguished error and log at INFO level.
We can't do much better than this right now because we keep the whole mgmt API online during PS shutdown.
We could improve this fundamentally with a middleware that takes down most of the mgmt API early, except the status & healthcheck endpoints.
But such a change is bigger and should go through the RFC process.
The text was updated successfully, but these errors were encountered: