Skip to content

[DENG-10877] Create plan for v2 to v1 glean table swap#61

Open
BenWu wants to merge 2 commits into
mainfrom
benwu/v1v2
Open

[DENG-10877] Create plan for v2 to v1 glean table swap#61
BenWu wants to merge 2 commits into
mainfrom
benwu/v1v2

Conversation

@BenWu

@BenWu BenWu commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Taken and updated from https://docs.google.com/document/d/1STMFrEpK6UPLKJGGojESJ_rniGAg3yf4RMo8H0RAeps/edit to make it easier to read and comment on with more code. All comments from there should be addressed now

For https://mozilla-hub.atlassian.net/browse/DENG-10877

Goal copied from the readme:

Replace the existing v1 glean live and stable tables with the backfilled v2 tables that carry the glean.2 schema, so the v1 table names keep working with the new schema which will have significantly fewer columns. For each table we back up the current v1, drop it, and rename v2 to v1. This runs in stage first,
then prod, starting with the test set below before the full rollout. The v2 tables already hold the validated backfill, so the swap is the remaining step to cut the pipeline over to the new schema without renaming downstream references.

@BenWu BenWu requested review from akkomar and whd June 25, 2026 16:15

@akkomar akkomar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The only issue I see is mozilla/mozilla-schema-generator#315 (review)

2. Pause ingestion and BigQuery deploys for prod and stage
- https://ops-master.jenkinsv2.prod.mozaws.net/job/gcp-pipelines/job/data-ingestion-sink/
- bigquery-prod and bigquery-stage https://ops-master.jenkinsv2.prod.mozaws.net/job/gcp-pipelines/job/data-shared/
3. Stop structured loader sink for prod and stage: deploy https://github.com/mozilla/dataservices-infra/compare/benwu/stage-loader-zero, which sets `enabled: false` on the `structured-decoded-loader`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd also announce this in #data-platform-infra-wg

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.

2 participants