Skip to content

Commit ead65a5

Browse files
authored
catalog: bump mz_cluster_replicas builtin migration for 26.31.0-dev (#37291)
Caused by #37107 Closes SQL-420 The reason we only noticed this so late is the auto dev version migration I added to make it easier to bump versions in staging, I'll disable that for CI in a separate PR.
1 parent 90083b8 commit ead65a5

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

ci/test/pipeline.template.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,6 @@ steps:
536536
]
537537
agents:
538538
queue: hetzner-x86-64-4cpu-8gb
539-
skip: "https://linear.app/materializeinc/issues/SQL-420"
540539

541540
- id: source-sink-errors
542541
label: "S&S error reporting"

src/adapter/src/catalog/open/builtin_schema_migration.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,15 @@ static MIGRATIONS: LazyLock<Vec<MigrationStep>> = LazyLock::new(|| {
237237
MZ_CATALOG_SCHEMA,
238238
"mz_system_privileges",
239239
),
240+
// The mz_cluster_replicas MV definition changed in 26.31.0-dev (the
241+
// `availability_zone` column now aggregates the durable
242+
// `availability_zones` list).
243+
MigrationStep::replacement(
244+
"26.31.0-dev.0",
245+
CatalogItemType::MaterializedView,
246+
MZ_CATALOG_SCHEMA,
247+
"mz_cluster_replicas",
248+
),
240249
]
241250
});
242251

0 commit comments

Comments
 (0)