Skip to content

fix(backend): migrate ingestion metrics synchronously#3180

Merged
detj merged 1 commit into
mainfrom
fix-ingestion_metrics-migration
Feb 20, 2026
Merged

fix(backend): migrate ingestion metrics synchronously#3180
detj merged 1 commit into
mainfrom
fix-ingestion_metrics-migration

Conversation

@detj

@detj detj commented Feb 20, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR fixes a backdated migration of rename & drop of columns in ingestion_metrics table synchronously to prevent cases of partial migrations when running in a replicated clickhouse environment.

Running migrations in a fresh replicated ClickHouse environment should now succeed with this fix.

Tasks

  • Fix self-host/clickhouse/20260119094537_alter_ingestion_metrics_table.sql migration
  • Fix a typo in column name

See also

Perform rename & drop of columns in ingestion_metrics table synchrnously
to prevent cases of partial migrations when running in a replicated
clickhouse environment

- fixes #3178

Signed-off-by: detj <detj@users.noreply.github.com>
@detj detj self-assigned this Feb 20, 2026
@detj detj added bug something isn't working backend backend related labels Feb 20, 2026
@vercel

vercel Bot commented Feb 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
measure-dashboard Ready Ready Preview, Comment Feb 20, 2026 2:04pm

@detj detj requested a review from anupcowkur February 20, 2026 14:05
@detj detj moved this to In Progress in Measure Roadmap Feb 20, 2026
@detj detj merged commit 18c4b0a into main Feb 20, 2026
8 checks passed
@detj detj deleted the fix-ingestion_metrics-migration branch February 20, 2026 14:07
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Measure Roadmap Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend backend related bug something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Fix ingestion_metrics migration

2 participants