From 8aeb274f6c8eeb1d0e80e17ab6b0ab10a01f60dc Mon Sep 17 00:00:00 2001 From: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> Date: Thu, 27 Jun 2024 08:01:40 +0300 Subject: [PATCH] [release-20.0-rc] Release of `v20.0.0` (#16258) Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com> Signed-off-by: Florent Poinsard Co-authored-by: Florent Poinsard --- .github/workflows/code_freeze.yml | 2 +- changelog/20.0/20.0.0/changelog.md | 32 +++-------------- changelog/20.0/20.0.0/release_notes.md | 36 +++++++++++++++---- changelog/20.0/20.0.0/summary.md | 16 +++++++++ examples/compose/docker-compose.beginners.yml | 20 +++++------ examples/compose/docker-compose.yml | 26 +++++++------- .../compose/vtcompose/docker-compose.test.yml | 26 +++++++------- examples/compose/vtcompose/vtcompose.go | 16 ++++----- examples/operator/101_initial_cluster.yaml | 12 +++---- examples/operator/201_customer_tablets.yaml | 12 +++---- examples/operator/302_new_shards.yaml | 12 +++---- examples/operator/306_down_shard_0.yaml | 12 +++---- examples/operator/401_scheduled_backups.yaml | 12 +++---- examples/operator/operator.yaml | 2 +- go/vt/servenv/version.go | 2 +- java/client/pom.xml | 2 +- java/example/pom.xml | 2 +- java/grpc-client/pom.xml | 2 +- java/jdbc/pom.xml | 2 +- java/pom.xml | 2 +- 20 files changed, 132 insertions(+), 116 deletions(-) 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/20.0/20.0.0/changelog.md b/changelog/20.0/20.0.0/changelog.md index a0e08dd87c4..5db48db10fd 100644 --- a/changelog/20.0/20.0.0/changelog.md +++ b/changelog/20.0/20.0.0/changelog.md @@ -41,7 +41,6 @@ * `schemadiff` INSTANT DDL: impossible changes on tables with `FULLTEXT` index [#15725](https://github.com/vitessio/vitess/pull/15725) * SchemaEngine: Ensure GetTableForPos returns table schema for "current" position by default [#15912](https://github.com/vitessio/vitess/pull/15912) * [release-20.0-rc] Online DDL shadow table: rename referenced table name in self referencing FK (#16205) [#16208](https://github.com/vitessio/vitess/pull/16208) - * [release-20.0] Online DDL shadow table: rename referenced table name in self referencing FK (#16205) [#16209](https://github.com/vitessio/vitess/pull/16209) #### Query Serving * Make connection killing resilient to MySQL hangs [#14500](https://github.com/vitessio/vitess/pull/14500) * TxThrottler: dont throttle unless lag [#14789](https://github.com/vitessio/vitess/pull/14789) @@ -83,9 +82,7 @@ * `schemadiff`: assume default collation for textual column when collation is undefined [#16000](https://github.com/vitessio/vitess/pull/16000) * fix: remove keyspace when merging subqueries [#16019](https://github.com/vitessio/vitess/pull/16019) * [release-20.0-rc] fix: rows affected count for multi table update for non-literal column value (#16181) [#16182](https://github.com/vitessio/vitess/pull/16182) - * [release-20.0] fix: rows affected count for multi table update for non-literal column value (#16181) [#16183](https://github.com/vitessio/vitess/pull/16183) * [release-20.0-rc] Handle Nullability for Columns from Outer Tables (#16174) [#16186](https://github.com/vitessio/vitess/pull/16186) - * [release-20.0] Handle Nullability for Columns from Outer Tables (#16174) [#16187](https://github.com/vitessio/vitess/pull/16187) #### TabletManager * mysqlctl: Improve handling of the lock file [#15404](https://github.com/vitessio/vitess/pull/15404) * Fix possible race in MySQL startup and vttablet in parallel [#15538](https://github.com/vitessio/vitess/pull/15538) @@ -111,17 +108,10 @@ * VReplication: Take replication lag into account in VStreamManager healthcheck result processing [#15761](https://github.com/vitessio/vitess/pull/15761) * VReplication: Improve workflow cancel/delete [#15977](https://github.com/vitessio/vitess/pull/15977) * [release-20.0-rc] vtctldclient: Apply (Shard | Keyspace| Table) Routing Rules commands don't work (#16096) [#16125](https://github.com/vitessio/vitess/pull/16125) - * [release-20.0] vtctldclient: Apply (Shard | Keyspace| Table) Routing Rules commands don't work (#16096) [#16126](https://github.com/vitessio/vitess/pull/16126) * [release-20.0-rc] VReplication: Improve workflow cancel/delete (#15977) [#16130](https://github.com/vitessio/vitess/pull/16130) - * [release-20.0] VReplication: Improve workflow cancel/delete (#15977) [#16131](https://github.com/vitessio/vitess/pull/16131) - * [release-20.0] CI Bug: Rename shard name back to match existing workflow file for vreplication_migrate_vdiff2_convert_tz (#16148) [#16151](https://github.com/vitessio/vitess/pull/16151) - * [release-20.0] CI flaky test: Fix flakiness in vreplication_migrate_vdiff2_convert_tz (#16180) [#16189](https://github.com/vitessio/vitess/pull/16189) * [release-20.0-rc] VDiff CLI: Fix VDiff `show` bug (#16177) [#16199](https://github.com/vitessio/vitess/pull/16199) - * [release-20.0] VDiff CLI: Fix VDiff `show` bug (#16177) [#16200](https://github.com/vitessio/vitess/pull/16200) * [release-20.0-rc] VReplication: handle escaped identifiers in vschema when initializing sequence tables (#16169) [#16218](https://github.com/vitessio/vitess/pull/16218) - * [release-20.0] VReplication: handle escaped identifiers in vschema when initializing sequence tables (#16169) [#16219](https://github.com/vitessio/vitess/pull/16219) * [release-20.0-rc] VReplication Workflow: set state correctly when restarting workflow streams in the copy phase (#16217) [#16223](https://github.com/vitessio/vitess/pull/16223) - * [release-20.0] VReplication Workflow: set state correctly when restarting workflow streams in the copy phase (#16217) [#16224](https://github.com/vitessio/vitess/pull/16224) #### VTAdmin * [VTAdmin API] Fix schema cache flag, add documentation [#15704](https://github.com/vitessio/vitess/pull/15704) * [VTAdmin] Remove vtctld web link, improve local example (#15607) [#15824](https://github.com/vitessio/vitess/pull/15824) @@ -133,7 +123,6 @@ #### vtexplain * vtexplain: Fix setting up the column information [#15275](https://github.com/vitessio/vitess/pull/15275) * vtexplain: Ensure memory topo is set up for throttler [#15279](https://github.com/vitessio/vitess/pull/15279) - * [release-20.0] Fix `vtexplain` not handling `UNION` queries with `weight_string` results correctly. (#16129) [#16158](https://github.com/vitessio/vitess/pull/16158) #### vttestserver * Revert unwanted logging change to `vttestserver` [#15148](https://github.com/vitessio/vitess/pull/15148) * use proper mysql version in the `vttestserver` images [#15235](https://github.com/vitessio/vitess/pull/15235) @@ -159,18 +148,14 @@ * Validate go versions in Static Code Checks CI [#15932](https://github.com/vitessio/vitess/pull/15932) * Add CODEOWNERS for tablet throttler and schemadiff [#16036](https://github.com/vitessio/vitess/pull/16036) * [release-20.0-rc] Add DCO workflow (#16052) [#16057](https://github.com/vitessio/vitess/pull/16057) - * [release-20.0] Add DCO workflow (#16052) [#16058](https://github.com/vitessio/vitess/pull/16058) * [release-20.0-rc] Remove DCO workaround (#16087) [#16092](https://github.com/vitessio/vitess/pull/16092) - * [release-20.0] Remove DCO workaround (#16087) [#16093](https://github.com/vitessio/vitess/pull/16093) * Revert "[release-20.0-rc] Bump to `v20.0.0-SNAPSHOT` after the `v20.00-RC1` release (#16142)" [#16144](https://github.com/vitessio/vitess/pull/16144) #### Docker * Docker/vtadmin: Update node version [#16145](https://github.com/vitessio/vitess/pull/16145) - * [release-20.0] Docker: Update node vtadmin version (#16147) [#16161](https://github.com/vitessio/vitess/pull/16161) #### General * [main] Upgrade the Golang version to `go1.22.1` [#15405](https://github.com/vitessio/vitess/pull/15405) * Upgrade go version to go1.22.2 [#15642](https://github.com/vitessio/vitess/pull/15642) * [main] Upgrade the Golang version to `go1.22.3` [#15865](https://github.com/vitessio/vitess/pull/15865) - * [release-20.0] Upgrade the Golang version to `go1.22.4` [#16060](https://github.com/vitessio/vitess/pull/16060) * [release-20.0-rc] [release-20.0] Upgrade the Golang version to `go1.22.4` (#16060) [#16064](https://github.com/vitessio/vitess/pull/16064) #### Online DDL * `onlineddl_scheduler` test: fix flakiness in artifact cleanup test [#15396](https://github.com/vitessio/vitess/pull/15396) @@ -193,7 +178,6 @@ #### VTAdmin * Bump vite from 4.5.2 to 4.5.3 in /web/vtadmin [#15634](https://github.com/vitessio/vitess/pull/15634) * [release-20.0-rc] Update braces package (#16115) [#16119](https://github.com/vitessio/vitess/pull/16119) - * [release-20.0] Update braces package (#16115) [#16120](https://github.com/vitessio/vitess/pull/16120) #### web UI * Remove highcharts dependency pt. 1 [#15970](https://github.com/vitessio/vitess/pull/15970) ### Documentation @@ -202,9 +186,9 @@ #### Documentation * Fix docs for unmanaged tablets [#15437](https://github.com/vitessio/vitess/pull/15437) * [release-20.0-rc] Changelog 20.0: Fix broken links (#16048) [#16075](https://github.com/vitessio/vitess/pull/16075) - * [release-20.0] Changelog 20.0: Fix broken links (#16048) [#16076](https://github.com/vitessio/vitess/pull/16076) #### General - * Add Shopify to `ADOPTERS.md` [#15853](https://github.com/vitessio/vitess/pull/15853) + * Add Shopify to `ADOPTERS.md` [#15853](https://github.com/vitessio/vitess/pull/15853) + * [release-20.0-rc] release notes: update dml related release notes (#16241) [#16246](https://github.com/vitessio/vitess/pull/16246) #### Governance * amend contributing guide to ban trivial contributions [#15618](https://github.com/vitessio/vitess/pull/15618) * remove koz from active maintainer list [#15733](https://github.com/vitessio/vitess/pull/15733) @@ -363,7 +347,6 @@ #### Docker * Revert the removal of the MySQL binaries in the `vitess/lite` image [#16042](https://github.com/vitessio/vitess/pull/16042) * [release-20.0-rc] Remove unnecessary Docker build workflows (#16196) [#16201](https://github.com/vitessio/vitess/pull/16201) - * [release-20.0] Remove unnecessary Docker build workflows (#16196) [#16202](https://github.com/vitessio/vitess/pull/16202) #### Examples * Update env.sh so that is does not error when running on Mac [#15835](https://github.com/vitessio/vitess/pull/15835) * Local Examples: Add --binary-as-hex=false flag to mysql alias [#15996](https://github.com/vitessio/vitess/pull/15996) @@ -452,7 +435,6 @@ #### VTTablet * Improve performance for `BaseShowTablesWithSizes` query. [#15713](https://github.com/vitessio/vitess/pull/15713) * Do not load table stats when booting `vttablet`. [#15715](https://github.com/vitessio/vitess/pull/15715) - * [release-20.0] Do not load table stats when booting `vttablet`. (#15715) [#16101](https://github.com/vitessio/vitess/pull/16101) ### Regression #### Query Serving * Fix routing rule query rewrite [#15253](https://github.com/vitessio/vitess/pull/15253) @@ -461,9 +443,7 @@ * fix: derived table join column expression to be part of add join predicate on rewrite [#15956](https://github.com/vitessio/vitess/pull/15956) * fix: insert on duplicate update to add list argument in the bind variables map [#15961](https://github.com/vitessio/vitess/pull/15961) * [release-20.0-rc] fix: order by subquery planning (#16049) [#16133](https://github.com/vitessio/vitess/pull/16133) - * [release-20.0] fix: order by subquery planning (#16049) [#16134](https://github.com/vitessio/vitess/pull/16134) * [release-20.0-rc] feat: add a LIMIT 1 on EXISTS subqueries to limit network overhead (#16153) [#16192](https://github.com/vitessio/vitess/pull/16192) - * [release-20.0] feat: add a LIMIT 1 on EXISTS subqueries to limit network overhead (#16153) [#16193](https://github.com/vitessio/vitess/pull/16193) #### Throttler * Enable 'heartbeat_on_demand_duration' in local/examples [#15204](https://github.com/vitessio/vitess/pull/15204) #### vttestserver @@ -485,9 +465,10 @@ * [release-20.0-rc] Code Freeze for `v20.0.0-RC1` [#16046](https://github.com/vitessio/vitess/pull/16046) * Bump to `v21.0.0-SNAPSHOT` after the `v20.0.0-RC1` release [#16047](https://github.com/vitessio/vitess/pull/16047) * [release-20.0-rc] Release of `v20.0.0-RC1` [#16137](https://github.com/vitessio/vitess/pull/16137) - * [release-20.0] Copy `v20.0.0-RC1` release notes [#16141](https://github.com/vitessio/vitess/pull/16141) * [release-20.0-rc] Bump to `v20.0.0-SNAPSHOT` after the `v20.0.0-RC1` release [#16142](https://github.com/vitessio/vitess/pull/16142) * [release-20.0-rc] Bump to `v20.0.0-SNAPSHOT` after the `v20.0.0-RC1` release [#16146](https://github.com/vitessio/vitess/pull/16146) + * [release-20.0-rc] Release of `v20.0.0-RC2` [#16225](https://github.com/vitessio/vitess/pull/16225) + * [release-20.0-rc] Bump to `v20.0.0-SNAPSHOT` after the `v20.0.0-RC2` release [#16236](https://github.com/vitessio/vitess/pull/16236) ### Testing #### Build/CI * Rewrite _many_ tests to use vtctldclient invocations, mostly non-output related stuff [#15270](https://github.com/vitessio/vitess/pull/15270) @@ -519,7 +500,6 @@ * Fix unit-test-runner bug [#15815](https://github.com/vitessio/vitess/pull/15815) * test: Add tests for `go/ioutil` and refactor existing [#15885](https://github.com/vitessio/vitess/pull/15885) * test: Add required tests for `vt/key`, `timer` and `cache/theine/bf` [#15976](https://github.com/vitessio/vitess/pull/15976) - * [release-20.0] CI Summary Addition [#16172](https://github.com/vitessio/vitess/pull/16172) #### Observability * VStreamer: add throttled logs when row/result/vstreamers get throttled. [#14936](https://github.com/vitessio/vitess/pull/14936) #### Query Serving @@ -551,14 +531,10 @@ * VStreamer unit test: port remaining tests to new framework [#15366](https://github.com/vitessio/vitess/pull/15366) * VReplication: Fix vtctldclient SwitchReads related bugs and move the TestBasicV2Workflows e2e test to vtctldclient [#15579](https://github.com/vitessio/vitess/pull/15579) * VStreamer unit tests: refactor pending test [#15845](https://github.com/vitessio/vitess/pull/15845) -#### VTCombo - * [release-20.0] Fix flaky tests that use vtcombo (#16178) [#16213](https://github.com/vitessio/vitess/pull/16213) #### VTorc * Add missing tests for `go/vt/vtorc/collection` [#15070](https://github.com/vitessio/vitess/pull/15070) #### vtctldclient * Add tests for GetTablets partial results [#15829](https://github.com/vitessio/vitess/pull/15829) -#### vtexplain - * [release-20.0] Fix flakiness in `vtexplain` unit test case. (#16159) [#16168](https://github.com/vitessio/vitess/pull/16168) #### vttestserver * Add `no_scatter` flag to vttestserver [#15670](https://github.com/vitessio/vitess/pull/15670) diff --git a/changelog/20.0/20.0.0/release_notes.md b/changelog/20.0/20.0.0/release_notes.md index 7e1eda59da2..23aa3a79052 100644 --- a/changelog/20.0/20.0.0/release_notes.md +++ b/changelog/20.0/20.0.0/release_notes.md @@ -29,6 +29,9 @@ - [Delete with Multi Target Support](#delete-multi-target) - [User Defined Functions Support](#udf-support) - [Insert Row Alias Support](#insert-row-alias-support) + - **[VReplication](#vreplication)** + - [Multi-tenant Imports](#multi-tenant) + - [VDiff Support For OnlineDDL Migrations](#vdiff-online-ddl) - **[Query Timeout](#query-timeout)** - **[Flag changes](#flag-changes)** - [`pprof-http` default change](#pprof-http-default) @@ -238,7 +241,8 @@ Support is added for sharded update with limit. Example: `update t1 set t1.foo = 'abc', t1.bar = 23 where t1.baz > 5 limit 1` -More details about how it works is available in [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/update.html) +The support is built on performing a selection of primary keys and then performing an update with those primary keys. +For query syntax, refer to the [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/update.html) #### Update with Multi Table Support @@ -246,7 +250,8 @@ Support is added for sharded multi-table update with column update on single tar Example: `update t1 join t2 on t1.id = t2.id join t3 on t1.col = t3.col set t1.baz = 'abc', t1.apa = 23 where t3.foo = 5 and t2.bar = 7` -More details about how it works is available in [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/update.html) +The support is built on performing a selection of primary keys and then performing an update with those primary keys. +For query syntax, refer to the [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/update.html) #### Update with Multi Target Support @@ -254,7 +259,9 @@ Support is added for sharded multi table target update. Example: `update t1 join t2 on t1.id = t2.id set t1.foo = 'abc', t2.bar = 23` -More details about how it works is available in [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/update.html) +The support is built on performing a selection of primary keys from all target tables and +then performing an update for each table with their selected primary keys. +For query syntax, refer to the [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/update.html) #### Delete with Subquery Support @@ -262,13 +269,17 @@ Support is added for sharded table delete with subquery Example: `delete from t1 where id in (select col from t2 where foo = 32 and bar = 43)` +The support is built by performing the uncorrelated subquery first and then providing the value for deletion. + #### Delete with Multi Target Support Support is added for sharded multi table target delete. Example: `delete t1, t3 from t1 join t2 on t1.id = t2.id join t3 on t1.col = t3.col` -More details about how it works is available in [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/delete.html) +The support is built on performing a selection of primary keys from all target tables and +then performing a delete operation for each table with their selected primary keys. +For query syntax, refer to the [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/delete.html) #### User Defined Functions Support @@ -289,7 +300,7 @@ Example: - `insert into user(id, name, email) valies (100, 'Alice', 'alice@mail.com') as new on duplicate key update name = new.name, email = new.email` - `insert into user(id, name, email) valies (100, 'Alice', 'alice@mail.com') as new(m, n, p) on duplicate key update name = n, email = p` -More details about how it works is available in [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/insert-on-duplicate.html) +For query syntax, refer to the [MySQL Docs](https://dev.mysql.com/doc/refman/8.0/en/insert-on-duplicate.html) ### Query Timeout On a query timeout, Vitess closed the connection using the `kill connection` statement. This leads to connection churn @@ -328,6 +339,19 @@ The new flag `--querylog-sample-rate float` adds support for sampling queries ba The new flag `--tablet-filter-tags StringMap` adds support to VTGate for filtering tablets by tablet tag key/values, specified as comma-separated list of key:values. The tags of a tablet are defined by the VTTablet flag `--init_tags`, which is also defined as a comma-separated list of key:values. +### VReplication + +#### Multi-tenant Imports + +Support for multi-tenant imports has been added to `MoveTables`. If you have a multi-tenant architecture where each +tenant has their own database, you can import the tenants using multiple `MoveTables` workfows, one per tenant. +Each import is initiated with the new `--tenant-id` flag. The column name (and data type) need to be specified in +the VSchema of the target keyspace. + +#### VDiff support for OnlineDDL migrations + +You can now run `VDiff`s on OnlineDDL schema change migrations, which are not yet cut over. + ## Minor Changes ### New Stats @@ -363,7 +387,7 @@ The vtadmin-web UI no longer has a dependency on highcharts for licensing reason ------------ The entire changelog for this release can be found [here](https://github.com/vitessio/vitess/blob/main/changelog/20.0/20.0.0/changelog.md). -The release includes 441 merged Pull Requests. +The release includes 419 merged Pull Requests. Thanks to all our contributors: @Aoang, @Ari1009, @GuptaManan100, @Its-Maniaco, @Maniktherana, @VaibhavMalik4187, @ajm188, @aparajon, @app/dependabot, @app/github-actions, @app/vitess-bot, @arthurschreiber, @bddicken, @beingnoble03, @brendar, @crazeteam, @dbussink, @deepthi, @demmer, @derekperkins, @ejortegau, @frouioui, @harshit-gangal, @mattlord, @maxenglander, @mdlayher, @notfelineit, @pavedroad, @rafer, @rohit-nayak-ps, @rvrangel, @shlomi-noach, @systay, @timvaillancourt, @tycol7, @vitess-bot, @vmg, @wangweicugw, @whuang8, @yoheimuta diff --git a/changelog/20.0/20.0.0/summary.md b/changelog/20.0/20.0.0/summary.md index c507efae7b1..edb85a6a3e4 100644 --- a/changelog/20.0/20.0.0/summary.md +++ b/changelog/20.0/20.0.0/summary.md @@ -28,6 +28,9 @@ - [Delete with Multi Target Support](#delete-multi-target) - [User Defined Functions Support](#udf-support) - [Insert Row Alias Support](#insert-row-alias-support) + - **[VReplication](#vreplication)** + - [Multi-tenant Imports](#multi-tenant) + - [VDiff Support For OnlineDDL Migrations](#vdiff-online-ddl) - **[Query Timeout](#query-timeout)** - **[Flag changes](#flag-changes)** - [`pprof-http` default change](#pprof-http-default) @@ -335,6 +338,19 @@ The new flag `--querylog-sample-rate float` adds support for sampling queries ba The new flag `--tablet-filter-tags StringMap` adds support to VTGate for filtering tablets by tablet tag key/values, specified as comma-separated list of key:values. The tags of a tablet are defined by the VTTablet flag `--init_tags`, which is also defined as a comma-separated list of key:values. +### VReplication + +#### Multi-tenant Imports + +Support for multi-tenant imports has been added to `MoveTables`. If you have a multi-tenant architecture where each +tenant has their own database, you can import the tenants using multiple `MoveTables` workfows, one per tenant. +Each import is initiated with the new `--tenant-id` flag. The column name (and data type) need to be specified in +the VSchema of the target keyspace. + +#### VDiff support for OnlineDDL migrations + +You can now run `VDiff`s on OnlineDDL schema change migrations, which are not yet cut over. + ## Minor Changes ### New Stats diff --git a/examples/compose/docker-compose.beginners.yml b/examples/compose/docker-compose.beginners.yml index c0a0860515c..8bc16e528b5 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - "15000:$WEB_PORT" - "$GRPC_PORT" @@ -81,7 +81,7 @@ services: condition: service_healthy vtgate: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - "15099:$WEB_PORT" - "$GRPC_PORT" @@ -111,7 +111,7 @@ services: condition: service_healthy schemaload: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 command: - sh - -c @@ -144,12 +144,12 @@ services: environment: - KEYSPACES=$KEYSPACE - GRPC_PORT=15999 - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 volumes: - .:/script vttablet100: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - "15100:$WEB_PORT" - "$GRPC_PORT" @@ -181,7 +181,7 @@ services: retries: 15 vttablet101: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - "15101:$WEB_PORT" - "$GRPC_PORT" @@ -213,7 +213,7 @@ services: retries: 15 vttablet102: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - "15102:$WEB_PORT" - "$GRPC_PORT" @@ -245,7 +245,7 @@ services: retries: 15 vttablet103: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - "15103:$WEB_PORT" - "$GRPC_PORT" @@ -277,7 +277,7 @@ services: retries: 15 vtorc: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 command: ["sh", "-c", "/script/vtorc-up.sh"] depends_on: - vtctld @@ -307,7 +307,7 @@ services: retries: 15 vreplication: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 volumes: - ".:/script" environment: diff --git a/examples/compose/docker-compose.yml b/examples/compose/docker-compose.yml index fc463d3b87f..ea1713d0c98 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 volumes: - .:/script set_keyspace_durability_policy: @@ -115,7 +115,7 @@ services: environment: - KEYSPACES=test_keyspace lookup_keyspace - GRPC_PORT=15999 - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 volumes: - .:/script vtctld: @@ -143,7 +143,7 @@ services: depends_on: external_db_host: condition: service_healthy - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - 15000:8080 - "15999" @@ -160,7 +160,7 @@ services: --normalize_queries=true ' depends_on: - vtctld - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - 15099:8080 - "15999" @@ -182,7 +182,7 @@ services: - EXTERNAL_DB=0 - DB_USER= - DB_PASS= - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - 15302:8080 - "15999" diff --git a/examples/compose/vtcompose/docker-compose.test.yml b/examples/compose/vtcompose/docker-compose.test.yml index 3135b30c496..1f06c3f78d9 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 volumes: - .:/script set_keyspace_durability_policy_test_keyspace: @@ -117,7 +117,7 @@ services: environment: - GRPC_PORT=15999 - KEYSPACES=test_keyspace - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 volumes: - .:/script set_keyspace_durability_policy_unsharded_keyspace: @@ -130,7 +130,7 @@ services: environment: - GRPC_PORT=15999 - KEYSPACES=unsharded_keyspace - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 volumes: - .:/script vtctld: @@ -159,7 +159,7 @@ services: depends_on: external_db_host: condition: service_healthy - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - 15000:8080 - "15999" @@ -176,7 +176,7 @@ services: ''grpc-vtgateservice'' --normalize_queries=true ' depends_on: - vtctld - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - 15099:8080 - "15999" @@ -199,7 +199,7 @@ services: - EXTERNAL_DB=0 - DB_USER= - DB_PASS= - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 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:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - 15301:8080 - "15999" diff --git a/examples/compose/vtcompose/vtcompose.go b/examples/compose/vtcompose/vtcompose.go index 4c14518ea44..09a2ae3c5bb 100644 --- a/examples/compose/vtcompose/vtcompose.go +++ b/examples/compose/vtcompose/vtcompose.go @@ -525,7 +525,7 @@ func generateExternalPrimary( - op: add path: /services/vttablet%[1]d value: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - "15%[1]d:%[3]d" - "%[4]d" @@ -587,7 +587,7 @@ func generateDefaultTablet(tabAlias int, shard, role, keyspace string, dbInfo ex - op: add path: /services/vttablet%[1]d value: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - "15%[1]d:%[4]d" - "%[5]d" @@ -625,7 +625,7 @@ func generateVtctld(opts vtOptions) string { - op: add path: /services/vtctld value: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - "15000:%[1]d" - "%[2]d" @@ -656,7 +656,7 @@ func generateVtgate(opts vtOptions) string { - op: add path: /services/vtgate value: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 ports: - "15099:%[1]d" - "%[2]d" @@ -698,7 +698,7 @@ func generateVTOrc(dbInfo externalDbInfo, keyspaceInfoMap map[string]keyspaceInf - op: add path: /services/vtorc value: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 volumes: - ".:/script" environment: @@ -723,7 +723,7 @@ func generateVreplication(dbInfo externalDbInfo, opts vtOptions) string { - op: add path: /services/vreplication value: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 volumes: - ".:/script" environment: @@ -751,7 +751,7 @@ func generateSetKeyspaceDurabilityPolicy( - op: add path: /services/set_keyspace_durability_policy_%[3]s value: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 volumes: - ".:/script" environment: @@ -788,7 +788,7 @@ func generateSchemaload( - op: add path: /services/schemaload_%[7]s value: - image: vitess/lite:v20.0.0-rc2 + image: vitess/lite:v20.0.0 volumes: - ".:/script" environment: diff --git a/examples/operator/101_initial_cluster.yaml b/examples/operator/101_initial_cluster.yaml index 223b36f4dba..8d8c6960dc2 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:v20.0.0-rc2 - vtadmin: vitess/vtadmin:v20.0.0-rc2 - vtgate: vitess/lite:v20.0.0-rc2 - vttablet: vitess/lite:v20.0.0-rc2 - vtbackup: vitess/lite:v20.0.0-rc2 - vtorc: vitess/lite:v20.0.0-rc2 + vtctld: vitess/lite:v20.0.0 + vtadmin: vitess/vtadmin:v20.0.0 + vtgate: vitess/lite:v20.0.0 + vttablet: vitess/lite:v20.0.0 + vtbackup: vitess/lite:v20.0.0 + vtorc: vitess/lite:v20.0.0 mysqld: mysql80Compatible: mysql:8.0.30 mysqldExporter: prom/mysqld-exporter:v0.11.0 diff --git a/examples/operator/201_customer_tablets.yaml b/examples/operator/201_customer_tablets.yaml index 9d112c65b01..a4dc2f4eb81 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:v20.0.0-rc2 - vtadmin: vitess/vtadmin:v20.0.0-rc2 - vtgate: vitess/lite:v20.0.0-rc2 - vttablet: vitess/lite:v20.0.0-rc2 - vtbackup: vitess/lite:v20.0.0-rc2 - vtorc: vitess/lite:v20.0.0-rc2 + vtctld: vitess/lite:v20.0.0 + vtadmin: vitess/vtadmin:v20.0.0 + vtgate: vitess/lite:v20.0.0 + vttablet: vitess/lite:v20.0.0 + vtbackup: vitess/lite:v20.0.0 + vtorc: vitess/lite:v20.0.0 mysqld: mysql80Compatible: mysql:8.0.30 mysqldExporter: prom/mysqld-exporter:v0.11.0 diff --git a/examples/operator/302_new_shards.yaml b/examples/operator/302_new_shards.yaml index 2764a4f7713..38b0271f077 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:v20.0.0-rc2 - vtadmin: vitess/vtadmin:v20.0.0-rc2 - vtgate: vitess/lite:v20.0.0-rc2 - vttablet: vitess/lite:v20.0.0-rc2 - vtbackup: vitess/lite:v20.0.0-rc2 - vtorc: vitess/lite:v20.0.0-rc2 + vtctld: vitess/lite:v20.0.0 + vtadmin: vitess/vtadmin:v20.0.0 + vtgate: vitess/lite:v20.0.0 + vttablet: vitess/lite:v20.0.0 + vtbackup: vitess/lite:v20.0.0 + vtorc: vitess/lite:v20.0.0 mysqld: mysql80Compatible: mysql:8.0.30 mysqldExporter: prom/mysqld-exporter:v0.11.0 diff --git a/examples/operator/306_down_shard_0.yaml b/examples/operator/306_down_shard_0.yaml index 84c5e922892..f05d8ecc089 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:v20.0.0-rc2 - vtadmin: vitess/vtadmin:v20.0.0-rc2 - vtgate: vitess/lite:v20.0.0-rc2 - vttablet: vitess/lite:v20.0.0-rc2 - vtbackup: vitess/lite:v20.0.0-rc2 - vtorc: vitess/lite:v20.0.0-rc2 + vtctld: vitess/lite:v20.0.0 + vtadmin: vitess/vtadmin:v20.0.0 + vtgate: vitess/lite:v20.0.0 + vttablet: vitess/lite:v20.0.0 + vtbackup: vitess/lite:v20.0.0 + vtorc: vitess/lite:v20.0.0 mysqld: mysql80Compatible: mysql:8.0.30 mysqldExporter: prom/mysqld-exporter:v0.11.0 diff --git a/examples/operator/401_scheduled_backups.yaml b/examples/operator/401_scheduled_backups.yaml index e4aa3a249ff..d748293c71c 100644 --- a/examples/operator/401_scheduled_backups.yaml +++ b/examples/operator/401_scheduled_backups.yaml @@ -45,12 +45,12 @@ spec: keyspace: "customer" shard: "-" images: - vtctld: vitess/lite:v20.0.0-rc2 - vtadmin: vitess/vtadmin:v20.0.0-rc2 - vtgate: vitess/lite:v20.0.0-rc2 - vttablet: vitess/lite:v20.0.0-rc2 - vtbackup: vitess/lite:v20.0.0-rc2 - vtorc: vitess/lite:v20.0.0-rc2 + vtctld: vitess/lite:v20.0.0 + vtadmin: vitess/vtadmin:v20.0.0 + vtgate: vitess/lite:v20.0.0 + vttablet: vitess/lite:v20.0.0 + vtbackup: vitess/lite:v20.0.0 + vtorc: vitess/lite:v20.0.0 mysqld: mysql80Compatible: mysql:8.0.30 mysqldExporter: prom/mysqld-exporter:v0.11.0 diff --git a/examples/operator/operator.yaml b/examples/operator/operator.yaml index 1a38a4a6cb7..417caeedabf 100644 --- a/examples/operator/operator.yaml +++ b/examples/operator/operator.yaml @@ -6885,7 +6885,7 @@ spec: fieldPath: metadata.name - name: OPERATOR_NAME value: vitess-operator - image: planetscale/vitess-operator:v2.13.0-rc2 + image: planetscale/vitess-operator:v2.13.0 name: vitess-operator resources: limits: diff --git a/go/vt/servenv/version.go b/go/vt/servenv/version.go index ca036720381..7d3ff86e1a5 100644 --- a/go/vt/servenv/version.go +++ b/go/vt/servenv/version.go @@ -19,4 +19,4 @@ package servenv // DO NOT EDIT // THIS FILE IS AUTO-GENERATED DURING NEW RELEASES BY THE VITESS-RELEASER -const versionName = "20.0.0-SNAPSHOT" +const versionName = "20.0.0" diff --git a/java/client/pom.xml b/java/client/pom.xml index 9e0fa8fd2d1..05092bacd34 100644 --- a/java/client/pom.xml +++ b/java/client/pom.xml @@ -5,7 +5,7 @@ io.vitess vitess-parent - 20.0.0-SNAPSHOT + 20.0.0 vitess-client diff --git a/java/example/pom.xml b/java/example/pom.xml index b0d013ac927..db3ab84eed0 100644 --- a/java/example/pom.xml +++ b/java/example/pom.xml @@ -5,7 +5,7 @@ io.vitess vitess-parent - 20.0.0-SNAPSHOT + 20.0.0 vitess-example diff --git a/java/grpc-client/pom.xml b/java/grpc-client/pom.xml index 20681619ca8..b5feddfb5ec 100644 --- a/java/grpc-client/pom.xml +++ b/java/grpc-client/pom.xml @@ -5,7 +5,7 @@ io.vitess vitess-parent - 20.0.0-SNAPSHOT + 20.0.0 vitess-grpc-client diff --git a/java/jdbc/pom.xml b/java/jdbc/pom.xml index d8587f8e7b1..7f0ea9084c3 100644 --- a/java/jdbc/pom.xml +++ b/java/jdbc/pom.xml @@ -5,7 +5,7 @@ io.vitess vitess-parent - 20.0.0-SNAPSHOT + 20.0.0 vitess-jdbc diff --git a/java/pom.xml b/java/pom.xml index 4737ea80a9c..309d675e4e7 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -11,7 +11,7 @@ io.vitess vitess-parent - 20.0.0-SNAPSHOT + 20.0.0 pom Vitess Java Client libraries [Parent]