Skip to content

catalog: freshness histogram relations and configuration - #40331

Draft
antiguru wants to merge 5 commits into
freshness/modelfrom
freshness/catalog
Draft

antiguru wants to merge 5 commits into
freshness/modelfrom
freshness/catalog

Conversation

@antiguru

@antiguru antiguru commented Oct 29, 2026 •

Copy link
Copy Markdown
Member

Adds mz_internal.mz_wallclock_global_freshness_histogram, mz_wallclock_replica_freshness_histogram and the progress view mz_wallclock_freshness_progress, next to the existing wallclock lag relations, which stay unchanged. A measure column separates end-to-end latency from local delay. Also adds the dyncfgs for buckets per octave, virtual arrival interval, period, restart policy and retention, and the two feature flags.

Part of P-CPU-328, design in #40320. Recording and reporting are behind enable_wallclock_freshness_recording and enable_wallclock_freshness_reporting, both off in production, so this changes nothing users see.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LD5gyKhqBoA2DEzJk8jR1R

@antiguru
antiguru added this pull request to stack #40339 October 29, 2026 06:37
@antiguru antiguru changed the title freshness/catalog catalog: freshness histogram relations and configuration Oct 29, 2026
@antiguru
antiguru force-pushed the freshness/catalog branch 3 times, most recently from 6a9d587 to 276e985 Compare October 29, 2026 20:20
antiguru and others added 5 commits October 31, 2026 20:51
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LD5gyKhqBoA2DEzJk8jR1R
…ft builtin ids

The optimizer cannot infer a key for the UNION ALL in
mz_wallclock_freshness_progress, so verify_builtin_descs rejects the declared
(object_id, replica_id) key. The new freshness builtins also shift the builtin
GlobalIds pinned in mz_catalog_server_index_accounting.slt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LD5gyKhqBoA2DEzJk8jR1R

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant