Skip to content

Delete stash files - #26647

Merged
jkosh44 merged 1 commit into
MaterializeInc:mainfrom
jkosh44:remove-stash-v2
Apr 15, 2024
Merged

jkosh44 merged 1 commit into
MaterializeInc:mainfrom
jkosh44:remove-stash-v2

Conversation

@jkosh44

@jkosh44 jkosh44 commented Apr 15, 2024 •

Copy link
Copy Markdown
Contributor

Motivation

This PR refactors existing code.

Checklist

  • This PR has adequate test coverage / QA involvement has been duly considered. (trigger-ci for additional test/nightly runs)
  • This PR has an associated up-to-date design doc, is a design doc (template), or is sufficiently small to not require a design.
  • If this PR evolves an existing $T ⇔ Proto$T mapping (possibly in a backwards-incompatible way), then it is tagged with a T-proto label.
  • If this PR will require changes to cloud orchestration or tests, there is a companion cloud PR to account for those changes that is tagged with the release-blocker label (example).
  • This PR includes the following user-facing behavior changes:
    • There are no user-facing behavior changes.

@jkosh44
jkosh44 requested a review from ParkMyCar April 15, 2024 14:32
@jkosh44
jkosh44 requested a review from aljoscha April 15, 2024 14:34
@jkosh44
jkosh44 marked this pull request as ready for review April 15, 2024 14:35
@jkosh44
jkosh44 enabled auto-merge (squash) April 15, 2024 14:35
@ParkMyCar ParkMyCar mentioned this pull request Apr 15, 2024
1 of 5 tasks
@aljoscha

Copy link
Copy Markdown
Contributor

now that's the kind of negative diffs I wanted to see! 🙌

@jkosh44
jkosh44 merged commit dae82ab into MaterializeInc:main Apr 15, 2024
@jkosh44
jkosh44 deleted the remove-stash-v2 branch April 15, 2024 14:57
antiguru added a commit to antiguru/materialize that referenced this pull request Aug 26, 2026
Merge each reference's Hazards and Invariants into a single section. The
split produced near-verbatim duplication in every reference, between three
and five entries each, because almost every hazard is an invariant with a
measurement attached. Each entry now leads with the property that holds at
any fleet size and gives the measurement inline.

Correct the compute reference's response queue row. It claimed
mz_compute_controller_response_queue_size exists directly, but no metric!
invocation registers that name and Prometheus carries no such series. The
response channel is an instrumented_unbounded_channel, which takes a send
and a receive counter and exports no depth gauge, so the difference of the
two is the only way to read depth. Record the counter-reset hazard that
follows, since both counters reset when a pod is replaced.

Add scripts/, holding the batched-query builder that step 5 needs and the
panel-query slicer that step 4 refers to.

Guard the references against metric renames from two directions. At run
time, catalog-diff.sh reads doc/user/data/metrics.yml at the release tags on
either side of a sign-off boundary, which separates an empty panel that is a
finding from one that is a metric arriving or departing with the release. At
commit time, ci/test/lint-skill-metrics.sh resolves every mz_* name in the
skill against the catalog, glob patterns included, and fails on any that
neither resolves nor carries a documented exemption in metrics-allowlist.txt.
It also fails on an exemption that has started resolving, so entries cannot
outlive their reason.

Record three dead dashboard panels found while building the lint.
mz_query_latency was added in MaterializeInc#22049 and deleted in MaterializeInc#26647 along with the
stash, and environmentd-health still plots its _bucket family.
mz_persist_columnar_validation_count and mz_txn_placeholder_schema_apply
have never appeared in this repository, yet both are arms of the persist
dashboard's `should be small` panel, so two of its sixteen series are
permanent zeros that make the panel read healthier than it is.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
bosconi added a commit that referenced this pull request Oct 31, 2026
… panels

The Areas table now carries the top-50 networking dashboard the release bot
links (axhjnp) alongside the original (bHQE8bN4k), and the datasource table
gains a canary-environments column: Sandbox in all three production regions,
Analytics in us-east-1 and eu-west-1. The bot's eu-west-1 links omit
Analytics, so the text says to add it by hand.

The dead-panel note becomes a table giving, for each panel, the metric, when
it went empty and the change behind it: the stash deletion in #26647, the
catalog latency histograms from #37926 (read _sum and _count), the autospill
backend removal, the legacy-upsert-only and backpressure-only metrics, the
kubelet volume stats that stopped on 2026-06-26, and the v2_ prefix on the
exporter's envd_up series.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

3 participants