Environment
- Relay:
ghcr.io/block/buzz:sha-2d26db6 and sha-acfbb1b (both)
- Fresh, empty Postgres 16;
BUZZ_AUTO_MIGRATE=true; migrations complete
successfully
What happens
Immediately after a clean migrate, every startup logs:
INFO Database migrations complete
ERROR Failed to ensure partitions: database error: error returned from database: partition "events_2026_07" would overlap partition "events_p_futu…" at line 437
(the partition name is truncated in our log capture — presumably
events_p_future.)
Non-fatal — the relay continues and events flow (presumably landing in the
catch-all/future partition) — but it's ERROR-level on every boot of a
pristine deployment, which (a) trains operators to ignore ERRORs and (b)
suggests the monthly partition for the current month is never actually
created when the default/future partition already covers the range.
Ask
- If the overlap is expected when a future/catch-all partition exists,
ensure_future_partitions should detach/split rather than blind-create, or
skip with an INFO.
- If monthly partitions are supposed to win over the catch-all, this is a
real bug: current-month data is accumulating in the catch-all instead.
Can provide \d+ events output from a fresh deployment on request.
Environment
ghcr.io/block/buzz:sha-2d26db6andsha-acfbb1b(both)BUZZ_AUTO_MIGRATE=true; migrations completesuccessfully
What happens
Immediately after a clean migrate, every startup logs:
(the partition name is truncated in our log capture — presumably
events_p_future.)Non-fatal — the relay continues and events flow (presumably landing in the
catch-all/future partition) — but it's ERROR-level on every boot of a
pristine deployment, which (a) trains operators to ignore ERRORs and (b)
suggests the monthly partition for the current month is never actually
created when the default/future partition already covers the range.
Ask
ensure_future_partitionsshould detach/split rather than blind-create, orskip with an INFO.
real bug: current-month data is accumulating in the catch-all instead.
Can provide
\d+ eventsoutput from a fresh deployment on request.