diff --git a/.github/workflows/code_freeze.yml b/.github/workflows/code_freeze.yml index 16128a39938..5640bc01b69 100644 --- a/.github/workflows/code_freeze.yml +++ b/.github/workflows/code_freeze.yml @@ -11,4 +11,4 @@ jobs: steps: - name: Fail if Code Freeze is enabled run: | - exit 1 + exit 0 diff --git a/changelog/17.0/17.0.2/changelog.md b/changelog/17.0/17.0.2/changelog.md new file mode 100644 index 00000000000..b51ebd69637 --- /dev/null +++ b/changelog/17.0/17.0.2/changelog.md @@ -0,0 +1,28 @@ +# Changelog of Vitess v17.0.2 + +### Bug fixes +#### Backup and Restore + * [release-17.0] Address vttablet memory usage with backups to Azure Blob Service (#13770) [#13775](https://github.com/vitessio/vitess/pull/13775) + * [release-17.0] Do not drain tablet in incremental backup (#13773) [#13789](https://github.com/vitessio/vitess/pull/13789) +#### Cluster management + * [release-17.0] Flaky tests: Fix race in memory topo (#13559) [#13577](https://github.com/vitessio/vitess/pull/13577) +#### Evalengine + * [release-17.0] Fix a number of encoding issues when evaluating expressions with the evalengine (#13509) [#13551](https://github.com/vitessio/vitess/pull/13551) + * [release-17.0] fastparse: Fix bug in overflow detection (#13702) [#13705](https://github.com/vitessio/vitess/pull/13705) +#### Online DDL + * v17 backport: Fix closed channel panic in Online DDL cutover [#13731](https://github.com/vitessio/vitess/pull/13731) + * v17 backport: Solve RevertMigration.Comment read/write concurrency issue [#13734](https://github.com/vitessio/vitess/pull/13734) +#### Query Serving + * [release-17.0] Fix flaky vtgate test TestInconsistentStateDetectedBuffering (#13560) [#13575](https://github.com/vitessio/vitess/pull/13575) + * [release-17.0] vtgate: fix race condition iterating tables and views from schema tracker (#13673) [#13796](https://github.com/vitessio/vitess/pull/13796) +### CI/Build +#### Backup and Restore + * [release-17.0] Fixing `backup_pitr` flaky tests via wait-for loop on topo reads (#13781) [#13790](https://github.com/vitessio/vitess/pull/13790) +#### Online DDL + * [release-17.0] CI: fix onlineddl_scheduler flakiness (#13754) [#13760](https://github.com/vitessio/vitess/pull/13760) +### Release +#### General + * Back to dev mode after v17.0.1 [#13663](https://github.com/vitessio/vitess/pull/13663) +### Testing +#### Build/CI + * [release-17.0] Flakes: Delete VTDATAROOT files in reparent test teardown within CI (#13793) [#13798](https://github.com/vitessio/vitess/pull/13798) diff --git a/changelog/17.0/17.0.2/release_notes.md b/changelog/17.0/17.0.2/release_notes.md new file mode 100644 index 00000000000..1d3fd71f7ef --- /dev/null +++ b/changelog/17.0/17.0.2/release_notes.md @@ -0,0 +1,7 @@ +# Release of Vitess v17.0.2 +The entire changelog for this release can be found [here](https://github.com/vitessio/vitess/blob/main/changelog/17.0/17.0.2/changelog.md). + +The release includes 13 merged Pull Requests. + +Thanks to all our contributors: @app/vitess-bot, @frouioui, @shlomi-noach + diff --git a/changelog/17.0/17.0.2/summary.md b/changelog/17.0/17.0.2/summary.md new file mode 100644 index 00000000000..e69de29bb2d diff --git a/changelog/17.0/README.md b/changelog/17.0/README.md index 7cfe8a176d1..641a52e1079 100644 --- a/changelog/17.0/README.md +++ b/changelog/17.0/README.md @@ -1,4 +1,8 @@ ## v17.0 +* **[17.0.2](17.0.2)** + * [Changelog](17.0.2/changelog.md) + * [Release Notes](17.0.2/release_notes.md) + * **[17.0.1](17.0.1)** * [Changelog](17.0.1/changelog.md) * [Release Notes](17.0.1/release_notes.md) diff --git a/docker/release.sh b/docker/release.sh index dfd28a437c1..fe9b5333f76 100755 --- a/docker/release.sh +++ b/docker/release.sh @@ -1,7 +1,7 @@ #!/bin/bash set -ex -vt_base_version='v17.0.2-SNAPSHOT' +vt_base_version='v17.0.2' 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 c17a813eaa8..1afa23529bd 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:v17.0.1 + image: vitess/lite:v17.0.2 ports: - "15000:$WEB_PORT" - "$GRPC_PORT" @@ -81,7 +81,7 @@ services: condition: service_healthy vtgate: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - "15099:$WEB_PORT" - "$GRPC_PORT" @@ -111,7 +111,7 @@ services: condition: service_healthy schemaload: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 command: - sh - -c @@ -144,12 +144,12 @@ services: environment: - KEYSPACES=$KEYSPACE - GRPC_PORT=15999 - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 volumes: - .:/script vttablet100: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - "15100:$WEB_PORT" - "$GRPC_PORT" @@ -181,7 +181,7 @@ services: retries: 15 vttablet101: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - "15101:$WEB_PORT" - "$GRPC_PORT" @@ -213,7 +213,7 @@ services: retries: 15 vttablet102: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - "15102:$WEB_PORT" - "$GRPC_PORT" @@ -245,7 +245,7 @@ services: retries: 15 vttablet103: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - "15103:$WEB_PORT" - "$GRPC_PORT" @@ -277,7 +277,7 @@ services: retries: 15 vtorc: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 command: ["sh", "-c", "/script/vtorc-up.sh"] depends_on: - vtctld @@ -307,7 +307,7 @@ services: retries: 15 vreplication: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 volumes: - ".:/script" environment: diff --git a/examples/compose/docker-compose.yml b/examples/compose/docker-compose.yml index 67b946ba6ed..6692d0a0575 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:v17.0.1 + image: vitess/lite:v17.0.2 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:v17.0.1 + image: vitess/lite:v17.0.2 volumes: - .:/script set_keyspace_durability_policy: @@ -115,7 +115,7 @@ services: environment: - KEYSPACES=test_keyspace lookup_keyspace - GRPC_PORT=15999 - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 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:v17.0.1 + image: vitess/lite:v17.0.2 volumes: - .:/script vtctld: @@ -143,7 +143,7 @@ services: depends_on: external_db_host: condition: service_healthy - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 15000:8080 - "15999" @@ -160,7 +160,7 @@ services: --normalize_queries=true ' depends_on: - vtctld - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 15099:8080 - "15999" @@ -182,7 +182,7 @@ services: - EXTERNAL_DB=0 - DB_USER= - DB_PASS= - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 13000:8080 volumes: @@ -217,7 +217,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 15101:8080 - "15999" @@ -254,7 +254,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 15102:8080 - "15999" @@ -291,7 +291,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 15201:8080 - "15999" @@ -328,7 +328,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 15202:8080 - "15999" @@ -365,7 +365,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 15301:8080 - "15999" @@ -402,7 +402,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 15302:8080 - "15999" diff --git a/examples/compose/vtcompose/docker-compose.test.yml b/examples/compose/vtcompose/docker-compose.test.yml index dfab942b7fc..4fdd8363004 100644 --- a/examples/compose/vtcompose/docker-compose.test.yml +++ b/examples/compose/vtcompose/docker-compose.test.yml @@ -79,7 +79,7 @@ services: - SCHEMA_FILES=test_keyspace_schema_file.sql - POST_LOAD_FILE= - EXTERNAL_DB=0 - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 volumes: - .:/script schemaload_unsharded_keyspace: @@ -103,7 +103,7 @@ services: - SCHEMA_FILES=unsharded_keyspace_schema_file.sql - POST_LOAD_FILE= - EXTERNAL_DB=0 - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 volumes: - .:/script set_keyspace_durability_policy_test_keyspace: @@ -117,7 +117,7 @@ services: environment: - GRPC_PORT=15999 - KEYSPACES=test_keyspace - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 volumes: - .:/script set_keyspace_durability_policy_unsharded_keyspace: @@ -130,7 +130,7 @@ services: environment: - GRPC_PORT=15999 - KEYSPACES=unsharded_keyspace - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 volumes: - .:/script vreplication: @@ -144,7 +144,7 @@ services: - TOPOLOGY_FLAGS=--topo_implementation consul --topo_global_server_address consul1:8500 --topo_global_root vitess/global - EXTERNAL_DB=0 - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 volumes: - .:/script vtctld: @@ -159,7 +159,7 @@ services: depends_on: external_db_host: condition: service_healthy - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 15000:8080 - "15999" @@ -176,7 +176,7 @@ services: ''grpc-vtgateservice'' --normalize_queries=true ' depends_on: - vtctld - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 15099:8080 - "15999" @@ -199,7 +199,7 @@ services: - EXTERNAL_DB=0 - DB_USER= - DB_PASS= - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 13000:8080 volumes: @@ -234,7 +234,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 15101:8080 - "15999" @@ -271,7 +271,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 15102:8080 - "15999" @@ -308,7 +308,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 15201:8080 - "15999" @@ -345,7 +345,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 15202:8080 - "15999" @@ -382,7 +382,7 @@ services: - CMD-SHELL - curl -s --fail --show-error localhost:8080/debug/health timeout: 10s - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - 15301:8080 - "15999" diff --git a/examples/compose/vtcompose/vtcompose.go b/examples/compose/vtcompose/vtcompose.go index 538fc02f9c1..2b8ad0f5cf5 100644 --- a/examples/compose/vtcompose/vtcompose.go +++ b/examples/compose/vtcompose/vtcompose.go @@ -533,7 +533,7 @@ func generateDefaultShard(tabAlias int, shard string, keyspaceData keyspaceInfo, - op: add path: /services/init_shard_primary%[2]d value: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 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) @@ -565,7 +565,7 @@ func generateExternalPrimary( - op: add path: /services/vttablet%[1]d value: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - "15%[1]d:%[3]d" - "%[4]d" @@ -627,7 +627,7 @@ func generateDefaultTablet(tabAlias int, shard, role, keyspace string, dbInfo ex - op: add path: /services/vttablet%[1]d value: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - "15%[1]d:%[4]d" - "%[5]d" @@ -665,7 +665,7 @@ func generateVtctld(opts vtOptions) string { - op: add path: /services/vtctld value: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - "15000:%[1]d" - "%[2]d" @@ -696,7 +696,7 @@ func generateVtgate(opts vtOptions) string { - op: add path: /services/vtgate value: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 ports: - "15099:%[1]d" - "%[2]d" @@ -738,7 +738,7 @@ func generateVTOrc(dbInfo externalDbInfo, keyspaceInfoMap map[string]keyspaceInf - op: add path: /services/vtorc value: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 volumes: - ".:/script" environment: @@ -763,7 +763,7 @@ func generateVreplication(dbInfo externalDbInfo, opts vtOptions) string { - op: add path: /services/vreplication value: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 volumes: - ".:/script" environment: @@ -791,7 +791,7 @@ func generateSetKeyspaceDurabilityPolicy( - op: add path: /services/set_keyspace_durability_policy_%[3]s value: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 volumes: - ".:/script" environment: @@ -828,7 +828,7 @@ func generateSchemaload( - op: add path: /services/schemaload_%[7]s value: - image: vitess/lite:v17.0.1 + image: vitess/lite:v17.0.2 volumes: - ".:/script" environment: diff --git a/examples/operator/101_initial_cluster.yaml b/examples/operator/101_initial_cluster.yaml index 03d3608bae8..24831bc9e88 100644 --- a/examples/operator/101_initial_cluster.yaml +++ b/examples/operator/101_initial_cluster.yaml @@ -8,14 +8,14 @@ metadata: name: example spec: images: - vtctld: vitess/lite:v17.0.1 - vtadmin: vitess/vtadmin:v17.0.1 - vtgate: vitess/lite:v17.0.1 - vttablet: vitess/lite:v17.0.1 - vtbackup: vitess/lite:v17.0.1 - vtorc: vitess/lite:v17.0.1 + vtctld: vitess/lite:v17.0.2 + vtadmin: vitess/vtadmin:v17.0.2 + vtgate: vitess/lite:v17.0.2 + vttablet: vitess/lite:v17.0.2 + vtbackup: vitess/lite:v17.0.2 + vtorc: vitess/lite:v17.0.2 mysqld: - mysql80Compatible: vitess/lite:v17.0.1 + mysql80Compatible: vitess/lite:v17.0.2 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 9d838dbc854..1f93549147a 100644 --- a/examples/operator/201_customer_tablets.yaml +++ b/examples/operator/201_customer_tablets.yaml @@ -4,14 +4,14 @@ metadata: name: example spec: images: - vtctld: vitess/lite:v17.0.1 - vtadmin: vitess/vtadmin:v17.0.1 - vtgate: vitess/lite:v17.0.1 - vttablet: vitess/lite:v17.0.1 - vtbackup: vitess/lite:v17.0.1 - vtorc: vitess/lite:v17.0.1 + vtctld: vitess/lite:v17.0.2 + vtadmin: vitess/vtadmin:v17.0.2 + vtgate: vitess/lite:v17.0.2 + vttablet: vitess/lite:v17.0.2 + vtbackup: vitess/lite:v17.0.2 + vtorc: vitess/lite:v17.0.2 mysqld: - mysql80Compatible: vitess/lite:v17.0.1 + mysql80Compatible: vitess/lite:v17.0.2 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 dd752036b45..87ba78de105 100644 --- a/examples/operator/302_new_shards.yaml +++ b/examples/operator/302_new_shards.yaml @@ -4,14 +4,14 @@ metadata: name: example spec: images: - vtctld: vitess/lite:v17.0.1 - vtadmin: vitess/vtadmin:v17.0.1 - vtgate: vitess/lite:v17.0.1 - vttablet: vitess/lite:v17.0.1 - vtbackup: vitess/lite:v17.0.1 - vtorc: vitess/lite:v17.0.1 + vtctld: vitess/lite:v17.0.2 + vtadmin: vitess/vtadmin:v17.0.2 + vtgate: vitess/lite:v17.0.2 + vttablet: vitess/lite:v17.0.2 + vtbackup: vitess/lite:v17.0.2 + vtorc: vitess/lite:v17.0.2 mysqld: - mysql80Compatible: vitess/lite:v17.0.1 + mysql80Compatible: vitess/lite:v17.0.2 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 204d52381d5..c9ef0c856e7 100644 --- a/examples/operator/306_down_shard_0.yaml +++ b/examples/operator/306_down_shard_0.yaml @@ -4,14 +4,14 @@ metadata: name: example spec: images: - vtctld: vitess/lite:v17.0.1 - vtadmin: vitess/vtadmin:v17.0.1 - vtgate: vitess/lite:v17.0.1 - vttablet: vitess/lite:v17.0.1 - vtbackup: vitess/lite:v17.0.1 - vtorc: vitess/lite:v17.0.1 + vtctld: vitess/lite:v17.0.2 + vtadmin: vitess/vtadmin:v17.0.2 + vtgate: vitess/lite:v17.0.2 + vttablet: vitess/lite:v17.0.2 + vtbackup: vitess/lite:v17.0.2 + vtorc: vitess/lite:v17.0.2 mysqld: - mysql80Compatible: vitess/lite:v17.0.1 + mysql80Compatible: vitess/lite:v17.0.2 mysqldExporter: prom/mysqld-exporter:v0.11.0 cells: - name: zone1 diff --git a/examples/operator/operator.yaml b/examples/operator/operator.yaml index 38ce7de96f3..4c627daed22 100644 --- a/examples/operator/operator.yaml +++ b/examples/operator/operator.yaml @@ -6145,7 +6145,7 @@ spec: fieldPath: metadata.name - name: OPERATOR_NAME value: vitess-operator - image: planetscale/vitess-operator:v2.10.1 + image: planetscale/vitess-operator:v2.10.2 name: vitess-operator resources: limits: diff --git a/go/vt/servenv/version.go b/go/vt/servenv/version.go index 41d5a04fe49..b8dcdf3264f 100644 --- a/go/vt/servenv/version.go +++ b/go/vt/servenv/version.go @@ -19,4 +19,4 @@ package servenv // THIS FILE IS AUTO-GENERATED DURING NEW RELEASES BY ./tools/do_releases.sh // DO NOT EDIT -const versionName = "17.0.2-SNAPSHOT" +const versionName = "17.0.2" diff --git a/java/client/pom.xml b/java/client/pom.xml index 09d03e397f1..b95f4d1b1b2 100644 --- a/java/client/pom.xml +++ b/java/client/pom.xml @@ -5,7 +5,7 @@ io.vitess vitess-parent - 17.0.2-SNAPSHOT + 17.0.2 vitess-client diff --git a/java/example/pom.xml b/java/example/pom.xml index 5b3848354cc..113292979e3 100644 --- a/java/example/pom.xml +++ b/java/example/pom.xml @@ -5,7 +5,7 @@ io.vitess vitess-parent - 17.0.2-SNAPSHOT + 17.0.2 vitess-example diff --git a/java/grpc-client/pom.xml b/java/grpc-client/pom.xml index 4af27e1b5bb..bb7a9213f62 100644 --- a/java/grpc-client/pom.xml +++ b/java/grpc-client/pom.xml @@ -5,7 +5,7 @@ io.vitess vitess-parent - 17.0.2-SNAPSHOT + 17.0.2 vitess-grpc-client diff --git a/java/jdbc/pom.xml b/java/jdbc/pom.xml index a05d426be19..0621011b051 100644 --- a/java/jdbc/pom.xml +++ b/java/jdbc/pom.xml @@ -5,7 +5,7 @@ io.vitess vitess-parent - 17.0.2-SNAPSHOT + 17.0.2 vitess-jdbc diff --git a/java/pom.xml b/java/pom.xml index 280485705ce..87b03492338 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -11,7 +11,7 @@ io.vitess vitess-parent - 17.0.2-SNAPSHOT + 17.0.2 pom Vitess Java Client libraries [Parent]