diff --git a/.github/workflows/code_freeze.yml b/.github/workflows/code_freeze.yml index b6dde0a0220..381793fa84d 100644 --- a/.github/workflows/code_freeze.yml +++ b/.github/workflows/code_freeze.yml @@ -9,4 +9,4 @@ jobs: steps: - name: Fail if Code Freeze is enabled run: | - exit 1 + exit 0 diff --git a/changelog/14.0/14.0.5/changelog.md b/changelog/14.0/14.0.5/changelog.md new file mode 100644 index 00000000000..695adc1274d --- /dev/null +++ b/changelog/14.0/14.0.5/changelog.md @@ -0,0 +1,55 @@ +# Changelog of Vitess v14.0.5 + +### Bug fixes +#### Observability + * Reset the current lag when closing the replication lag reader. [#12683](https://github.com/vitessio/vitess/pull/12683) +#### Online DDL + * Mysqld.GetSchema: tolerate tables being dropped while inspecting schema [#12641](https://github.com/vitessio/vitess/pull/12641) +#### Query Serving + * Fix CheckMySQL by setting the correct wanted state [#11895](https://github.com/vitessio/vitess/pull/11895) + * [release-14.0] Fix sending a ServerLost error when reading a packet fails (#11920) [#11928](https://github.com/vitessio/vitess/pull/11928) + * Fix: Date math with Interval keyword [#12082](https://github.com/vitessio/vitess/pull/12082) + * BugFix: Cast expression translation by evaluation engine [#12111](https://github.com/vitessio/vitess/pull/12111) + * Fix aggregation on outer joins [#12298](https://github.com/vitessio/vitess/pull/12298) + * [release-14.0] fix: added null safe operator precendence rule (#12297) [#12305](https://github.com/vitessio/vitess/pull/12305) + * Fix scalar aggregation engine primitive for column truncation [#12468](https://github.com/vitessio/vitess/pull/12468) + * [release-16.0] BugFix: Unsharded query using a derived table and a dual table [#12484](https://github.com/vitessio/vitess/pull/12484) + * collations: fix sorting in UCA900 collations [#12555](https://github.com/vitessio/vitess/pull/12555) + * [release-14.0] `ApplyVSchemaDDL`: escape Sequence names when writing the VSchema (#12519) [#12597](https://github.com/vitessio/vitess/pull/12597) + * [gen4 planner] Make sure to not push down expressions when not possible [#12607](https://github.com/vitessio/vitess/pull/12607) + * [release-14.0] Fix `panic` when executing a prepare statement with over `65,528` parameters [#12628](https://github.com/vitessio/vitess/pull/12628) + * [planner bugfix] add expressions to HAVING [#12668](https://github.com/vitessio/vitess/pull/12668) + * [release-14.0] Always add columns in the `Derived` operator [#12681](https://github.com/vitessio/vitess/pull/12681) + * [planner fix] make unknown column an error only for sharded queries [#12704](https://github.com/vitessio/vitess/pull/12704) +### CI/Build +#### Build/CI + * Move towards MySQL 8.0 as the default template generation [#11153](https://github.com/vitessio/vitess/pull/11153) + * Fix deprecated usage of set-output [#11844](https://github.com/vitessio/vitess/pull/11844) + * Use `go1.18.9` in the next release upgrade downgrade E2E tests [#11925](https://github.com/vitessio/vitess/pull/11925) + * [release-14.0] Make upgrade downgrade job names unique [#12497](https://github.com/vitessio/vitess/pull/12497) + * v14 backport: CI: increase overall test timeouts for all OnlineDDL tests [#12590](https://github.com/vitessio/vitess/pull/12590) +#### Online DDL + * CI: extend timeouts in onlineddl_vrepl due to slow CI runners [#12583](https://github.com/vitessio/vitess/pull/12583) +#### TabletManager + * Fix closing the body for HTTP requests [#11842](https://github.com/vitessio/vitess/pull/11842) +### Enhancement +#### Build/CI + * Auto upgrade the Golang version [#12585](https://github.com/vitessio/vitess/pull/12585) +#### Governance + * [release-14.0] Add manan and florent to Docker files CODEOWNERS (#11981) [#11982](https://github.com/vitessio/vitess/pull/11982) +### Internal Cleanup +#### General + * [release-14.0] Fix release script for the version in the docker script (#12285) [#12290](https://github.com/vitessio/vitess/pull/12290) +### Performance +#### Cluster management + * Bug fix: Cache filtered out tablets in topology watcher to avoid unnecessary GetTablet calls to topo [#12194](https://github.com/vitessio/vitess/pull/12194) +### Release +#### Build/CI + * [release-14.0] Tooling improvements backports [#12526](https://github.com/vitessio/vitess/pull/12526) +#### Documentation + * Re-organize the `releasenotes` directory into `changelog` [#12566](https://github.com/vitessio/vitess/pull/12566) +#### General + * Back to dev mode after v14.0.4 [#11845](https://github.com/vitessio/vitess/pull/11845) + * Release of v14.0.4 [#11846](https://github.com/vitessio/vitess/pull/11846) + * Code freeze of `release-14.0` for `v14.0.5` [#12763](https://github.com/vitessio/vitess/pull/12763) + diff --git a/changelog/14.0/14.0.5/release_notes.md b/changelog/14.0/14.0.5/release_notes.md new file mode 100644 index 00000000000..ec2a762d4a5 --- /dev/null +++ b/changelog/14.0/14.0.5/release_notes.md @@ -0,0 +1,7 @@ +# Release of Vitess v14.0.5 +The entire changelog for this release can be found [here](https://github.com/vitessio/vitess/blob/main/changelog/14.0/14.0.5/changelog.md). + +The release includes 33 commits (excluding merges) + +Thanks to all our contributors: @GuptaManan100, @dbussink, @frouioui, @harshit-gangal, @rsajwani, @shlomi-noach, @systay, @vitess-bot[bot], @vmg + diff --git a/docker/release.sh b/docker/release.sh index 7e214676b13..cecc669949b 100755 --- a/docker/release.sh +++ b/docker/release.sh @@ -1,7 +1,7 @@ #!/bin/bash set -ex -vt_base_version='14.0.5-SNAPSHOT' +vt_base_version='v14.0.5' debian_versions='buster bullseye' default_debian_version='bullseye' diff --git a/examples/compose/docker-compose.beginners.yml b/examples/compose/docker-compose.beginners.yml index e4b12193266..6737b9e7982 100644 --- a/examples/compose/docker-compose.beginners.yml +++ b/examples/compose/docker-compose.beginners.yml @@ -58,7 +58,7 @@ services: - "3306" vtctld: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - "15000:$WEB_PORT" - "$GRPC_PORT" @@ -83,7 +83,7 @@ services: condition: service_healthy vtgate: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - "15099:$WEB_PORT" - "$GRPC_PORT" @@ -113,7 +113,7 @@ services: condition: service_healthy schemaload: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 command: - sh - -c @@ -146,12 +146,12 @@ services: environment: - KEYSPACES=$KEYSPACE - GRPC_PORT=15999 - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 volumes: - .:/script vttablet100: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - "15100:$WEB_PORT" - "$GRPC_PORT" @@ -183,7 +183,7 @@ services: retries: 15 vttablet101: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - "15101:$WEB_PORT" - "$GRPC_PORT" @@ -215,7 +215,7 @@ services: retries: 15 vttablet102: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - "15102:$WEB_PORT" - "$GRPC_PORT" @@ -247,7 +247,7 @@ services: retries: 15 vttablet103: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - "15103:$WEB_PORT" - "$GRPC_PORT" @@ -279,7 +279,7 @@ services: retries: 15 vtorc: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 command: ["sh", "-c", "/script/vtorc-up.sh"] depends_on: - vtctld @@ -308,7 +308,7 @@ services: retries: 15 vreplication: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 volumes: - ".:/script" environment: diff --git a/examples/compose/docker-compose.yml b/examples/compose/docker-compose.yml index c2b55c91da4..aee4954ad6a 100644 --- a/examples/compose/docker-compose.yml +++ b/examples/compose/docker-compose.yml @@ -75,7 +75,7 @@ services: - SCHEMA_FILES=lookup_keyspace_schema_file.sql - POST_LOAD_FILE= - EXTERNAL_DB=0 - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 volumes: - .:/script schemaload_test_keyspace: @@ -101,7 +101,7 @@ services: - SCHEMA_FILES=test_keyspace_schema_file.sql - POST_LOAD_FILE= - EXTERNAL_DB=0 - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 volumes: - .:/script set_keyspace_durability_policy: @@ -115,7 +115,7 @@ services: environment: - KEYSPACES=test_keyspace lookup_keyspace - GRPC_PORT=15999 - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 volumes: - .:/script vreplication: @@ -129,7 +129,7 @@ services: - TOPOLOGY_FLAGS=-topo_implementation consul -topo_global_server_address consul1:8500 -topo_global_root vitess/global - EXTERNAL_DB=0 - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 volumes: - .:/script vtctld: @@ -143,7 +143,7 @@ services: depends_on: external_db_host: condition: service_healthy - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - 15000:8080 - "15999" @@ -160,7 +160,7 @@ services: -normalize_queries=true ' depends_on: - vtctld - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - 15099:8080 - "15999" @@ -181,7 +181,7 @@ services: - EXTERNAL_DB=0 - DB_USER= - DB_PASS= - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - 13000:3000 volumes: @@ -216,7 +216,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - 15101:8080 - "15999" @@ -253,7 +253,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - 15102:8080 - "15999" @@ -290,7 +290,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - 15201:8080 - "15999" @@ -327,7 +327,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - 15202:8080 - "15999" @@ -364,7 +364,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - 15301:8080 - "15999" @@ -401,7 +401,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - 15302:8080 - "15999" @@ -417,7 +417,7 @@ services: -port 8080 -grpc_port 15999 -use_v3_resharding_mode=true ' depends_on: - vtctld - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - "8080" - "15999" diff --git a/examples/compose/vtcompose/vtcompose.go b/examples/compose/vtcompose/vtcompose.go index 96b398401fe..0b7cb7fd276 100644 --- a/examples/compose/vtcompose/vtcompose.go +++ b/examples/compose/vtcompose/vtcompose.go @@ -534,7 +534,7 @@ func generateDefaultShard(tabAlias int, shard string, keyspaceData keyspaceInfo, - op: add path: /services/init_shard_primary%[2]d value: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 command: ["sh", "-c", "/vt/bin/vtctlclient %[5]s InitShardPrimary -force %[4]s/%[3]s %[6]s-%[2]d "] %[1]s `, dependsOn, aliases[0], shard, keyspaceData.keyspace, opts.topologyFlags, opts.cell) @@ -566,7 +566,7 @@ func generateExternalPrimary( - op: add path: /services/vttablet%[1]d value: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - "15%[1]d:%[3]d" - "%[4]d" @@ -628,7 +628,7 @@ func generateDefaultTablet(tabAlias int, shard, role, keyspace string, dbInfo ex - op: add path: /services/vttablet%[1]d value: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - "15%[1]d:%[4]d" - "%[5]d" @@ -666,7 +666,7 @@ func generateVtctld(opts vtOptions) string { - op: add path: /services/vtctld value: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - "15000:%[1]d" - "%[2]d" @@ -699,7 +699,7 @@ func generateVtgate(opts vtOptions) string { - op: add path: /services/vtgate value: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - "15099:%[1]d" - "%[2]d" @@ -729,7 +729,7 @@ func generateVtwork(opts vtOptions) string { - op: add path: /services/vtwork value: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 ports: - "%[1]d" - "%[2]d" @@ -764,7 +764,7 @@ func generateVtorc(dbInfo externalDbInfo, keyspaceInfoMap map[string]keyspaceInf - op: add path: /services/vtorc value: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 volumes: - ".:/script" environment: @@ -788,7 +788,7 @@ func generateVreplication(dbInfo externalDbInfo, opts vtOptions) string { - op: add path: /services/vreplication value: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 volumes: - ".:/script" environment: @@ -816,7 +816,7 @@ func generateSetKeyspaceDurabilityPolicy( - op: add path: /services/set_keyspace_durability_policy_%[3]s value: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 volumes: - ".:/script" environment: @@ -853,7 +853,7 @@ func generateSchemaload( - op: add path: /services/schemaload_%[7]s value: - image: vitess/lite:v14.0.4 + image: vitess/lite:v14.0.5 volumes: - ".:/script" environment: diff --git a/examples/operator/101_initial_cluster.yaml b/examples/operator/101_initial_cluster.yaml index 347027725a0..84214203502 100644 --- a/examples/operator/101_initial_cluster.yaml +++ b/examples/operator/101_initial_cluster.yaml @@ -8,12 +8,12 @@ metadata: name: example spec: images: - vtctld: vitess/lite:v14.0.4 - vtgate: vitess/lite:v14.0.4 - vttablet: vitess/lite:v14.0.4 - vtbackup: vitess/lite:v14.0.4 + vtctld: vitess/lite:v14.0.5 + vtgate: vitess/lite:v14.0.5 + vttablet: vitess/lite:v14.0.5 + vtbackup: vitess/lite:v14.0.5 mysqld: - mysql56Compatible: vitess/lite:v14.0.4 + mysql56Compatible: vitess/lite:v14.0.5 mysqldExporter: prom/mysqld-exporter:v0.11.0 cells: - name: zone1 diff --git a/examples/operator/201_customer_tablets.yaml b/examples/operator/201_customer_tablets.yaml index 5b07e578a4b..50377d68b27 100644 --- a/examples/operator/201_customer_tablets.yaml +++ b/examples/operator/201_customer_tablets.yaml @@ -4,12 +4,12 @@ metadata: name: example spec: images: - vtctld: vitess/lite:v14.0.4 - vtgate: vitess/lite:v14.0.4 - vttablet: vitess/lite:v14.0.4 - vtbackup: vitess/lite:v14.0.4 + vtctld: vitess/lite:v14.0.5 + vtgate: vitess/lite:v14.0.5 + vttablet: vitess/lite:v14.0.5 + vtbackup: vitess/lite:v14.0.5 mysqld: - mysql56Compatible: vitess/lite:v14.0.4 + mysql56Compatible: vitess/lite:v14.0.5 mysqldExporter: prom/mysqld-exporter:v0.11.0 cells: - name: zone1 diff --git a/examples/operator/302_new_shards.yaml b/examples/operator/302_new_shards.yaml index c4fb5a4a1f6..88fef3a18e9 100644 --- a/examples/operator/302_new_shards.yaml +++ b/examples/operator/302_new_shards.yaml @@ -4,12 +4,12 @@ metadata: name: example spec: images: - vtctld: vitess/lite:v14.0.4 - vtgate: vitess/lite:v14.0.4 - vttablet: vitess/lite:v14.0.4 - vtbackup: vitess/lite:v14.0.4 + vtctld: vitess/lite:v14.0.5 + vtgate: vitess/lite:v14.0.5 + vttablet: vitess/lite:v14.0.5 + vtbackup: vitess/lite:v14.0.5 mysqld: - mysql56Compatible: vitess/lite:v14.0.4 + mysql56Compatible: vitess/lite:v14.0.5 mysqldExporter: prom/mysqld-exporter:v0.11.0 cells: - name: zone1 diff --git a/examples/operator/306_down_shard_0.yaml b/examples/operator/306_down_shard_0.yaml index 4af0dd2ff30..593545d07f5 100644 --- a/examples/operator/306_down_shard_0.yaml +++ b/examples/operator/306_down_shard_0.yaml @@ -4,12 +4,12 @@ metadata: name: example spec: images: - vtctld: vitess/lite:v14.0.4 - vtgate: vitess/lite:v14.0.4 - vttablet: vitess/lite:v14.0.4 - vtbackup: vitess/lite:v14.0.4 + vtctld: vitess/lite:v14.0.5 + vtgate: vitess/lite:v14.0.5 + vttablet: vitess/lite:v14.0.5 + vtbackup: vitess/lite:v14.0.5 mysqld: - mysql56Compatible: vitess/lite:v14.0.4 + mysql56Compatible: vitess/lite:v14.0.5 mysqldExporter: prom/mysqld-exporter:v0.11.0 cells: - name: zone1 diff --git a/examples/operator/operator.yaml b/examples/operator/operator.yaml index 340a7e762bd..f959d99796c 100644 --- a/examples/operator/operator.yaml +++ b/examples/operator/operator.yaml @@ -5432,7 +5432,7 @@ spec: fieldPath: metadata.name - name: OPERATOR_NAME value: vitess-operator - image: planetscale/vitess-operator:v2.7.3 + image: planetscale/vitess-operator:v2.7.4 name: vitess-operator resources: limits: diff --git a/examples/operator/vtorc_example.yaml b/examples/operator/vtorc_example.yaml index 76a0b389c08..f85f5c2eeff 100644 --- a/examples/operator/vtorc_example.yaml +++ b/examples/operator/vtorc_example.yaml @@ -8,13 +8,13 @@ metadata: name: example spec: images: - vtctld: vitess/lite:v14.0.4 - vtorc: vitess/lite:v14.0.4 - vtgate: vitess/lite:v14.0.4 - vttablet: vitess/lite:v14.0.4 - vtbackup: vitess/lite:v14.0.4 + vtctld: vitess/lite:v14.0.5 + vtorc: vitess/lite:v14.0.5 + vtgate: vitess/lite:v14.0.5 + vttablet: vitess/lite:v14.0.5 + vtbackup: vitess/lite:v14.0.5 mysqld: - mysql56Compatible: vitess/lite:v14.0.4 + mysql56Compatible: vitess/lite:v14.0.5 mysqldExporter: prom/mysqld-exporter:v0.11.0 cells: - name: zone1 diff --git a/go/vt/servenv/version.go b/go/vt/servenv/version.go index 20f85b3d137..d999e174ffb 100644 --- a/go/vt/servenv/version.go +++ b/go/vt/servenv/version.go @@ -1,5 +1,5 @@ /* -Copyright 2022 The Vitess Authors. +Copyright 2023 The Vitess Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -19,4 +19,4 @@ package servenv // THIS FILE IS AUTO-GENERATED DURING NEW RELEASES BY ./tools/do_releases.sh // DO NOT EDIT -const versionName = "14.0.5-SNAPSHOT" +const versionName = "14.0.5" diff --git a/java/client/pom.xml b/java/client/pom.xml index bd58d758e08..84f6dbde20f 100644 --- a/java/client/pom.xml +++ b/java/client/pom.xml @@ -5,7 +5,7 @@ io.vitess vitess-parent - 14.0.5-SNAPSHOT + 14.0.5 vitess-client diff --git a/java/example/pom.xml b/java/example/pom.xml index 18674125c41..5ef3a5504d9 100644 --- a/java/example/pom.xml +++ b/java/example/pom.xml @@ -5,7 +5,7 @@ io.vitess vitess-parent - 14.0.5-SNAPSHOT + 14.0.5 vitess-example diff --git a/java/grpc-client/pom.xml b/java/grpc-client/pom.xml index 7ed8afb82f7..4bf47a66963 100644 --- a/java/grpc-client/pom.xml +++ b/java/grpc-client/pom.xml @@ -5,7 +5,7 @@ io.vitess vitess-parent - 14.0.5-SNAPSHOT + 14.0.5 vitess-grpc-client diff --git a/java/jdbc/pom.xml b/java/jdbc/pom.xml index 8f15ab302d0..1b068cb88ae 100644 --- a/java/jdbc/pom.xml +++ b/java/jdbc/pom.xml @@ -5,7 +5,7 @@ io.vitess vitess-parent - 14.0.5-SNAPSHOT + 14.0.5 vitess-jdbc diff --git a/java/pom.xml b/java/pom.xml index 9a27e59f914..dc93f207253 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -11,7 +11,7 @@ io.vitess vitess-parent - 14.0.5-SNAPSHOT + 14.0.5 pom Vitess Java Client libraries [Parent]