Skip to content

Commit

Permalink
[release-21.0] Release of v21.0.0-RC2 (#17022)
Browse files Browse the repository at this point in the history
Signed-off-by: Rohit Nayak <[email protected]>
  • Loading branch information
rohit-nayak-ps authored Oct 23, 2024
1 parent 5f957b2 commit 54fa8d8
Show file tree
Hide file tree
Showing 18 changed files with 121 additions and 99 deletions.
41 changes: 29 additions & 12 deletions changelog/21.0/21.0.0/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
#### Backup and Restore
* fixing issue with xtrabackup and long gtids [#16304](https://github.com/vitessio/vitess/pull/16304)
* Fix `xtrabackup`/`builtin` context when doing `AddFiles` [#16806](https://github.com/vitessio/vitess/pull/16806)
* Fail fast when builtinbackup fails to restore a single file [#16856](https://github.com/vitessio/vitess/pull/16856)
* Fail fast when builtinbackup fails to restore a single file [#16856](https://github.com/vitessio/vitess/pull/16856)
* [release-21.0] fix releasing the global read lock when mysqlshell backup fails (#17000) [#17012](https://github.com/vitessio/vitess/pull/17012)
#### Build/CI
* Fix echo command in build docker images workflow [#16350](https://github.com/vitessio/vitess/pull/16350)
* CI: Remove build docker images CI action until we figure out if that it is affecting our rate limits [#16759](https://github.com/vitessio/vitess/pull/16759)
Expand Down Expand Up @@ -63,7 +64,8 @@
* VTTablet: smartconnpool: notify all expired waiters [#16897](https://github.com/vitessio/vitess/pull/16897)
* [release-21.0] fix issue with json unmarshalling of operators with space in them [#16933](https://github.com/vitessio/vitess/pull/16933)
* [release-21.0] VTGate MoveTables Buffering: Fix panic when buffering is disabled (#16922) [#16936](https://github.com/vitessio/vitess/pull/16936)
* [release-21.0] fixes bugs around expression precedence and LIKE (#16934) [#16947](https://github.com/vitessio/vitess/pull/16947)
* [release-21.0] fixes bugs around expression precedence and LIKE (#16934) [#16947](https://github.com/vitessio/vitess/pull/16947)
* [release-21.0] [Direct PR] bugfix: add HAVING columns inside derived tables (#16976) [#16980](https://github.com/vitessio/vitess/pull/16980)
#### Schema Tracker
* Log and ignore the error in reading udfs in schema tracker [#16630](https://github.com/vitessio/vitess/pull/16630)
#### Throttler
Expand All @@ -86,15 +88,18 @@
* VTGate VStream: Ensure reasonable delivery time for reshard journal event [#16639](https://github.com/vitessio/vitess/pull/16639)
* Workflow Status: change logic to determine whether `MoveTables` writes are switched [#16731](https://github.com/vitessio/vitess/pull/16731)
* Migrate Workflow: Scope vindex names correctly when target and source keyspace have different names [#16769](https://github.com/vitessio/vitess/pull/16769)
* VReplication: Support both vindex col def formats when initing target sequences [#16862](https://github.com/vitessio/vitess/pull/16862)
* VReplication: Support both vindex col def formats when initing target sequences [#16862](https://github.com/vitessio/vitess/pull/16862)
* [release-21.0] fix: Infinite logs in case of non-existent stream logs (#17004) [#17014](https://github.com/vitessio/vitess/pull/17014)
* [release-21.0] VReplication: Support reversing read-only traffic in vtctldclient (#16920) [#17015](https://github.com/vitessio/vitess/pull/17015)
#### VTAdmin
* VTAdmin: Upgrade websockets js package [#16504](https://github.com/vitessio/vitess/pull/16504)
* VTAdmin: Fix serve-handler's path-to-regexp dep and add default schema refresh [#16778](https://github.com/vitessio/vitess/pull/16778)
#### VTCombo
* vtcombo: close query service on drop database [#16606](https://github.com/vitessio/vitess/pull/16606)
#### VTGate
* Fix `RemoveTablet` during `TabletExternallyReparented` causing connection issues [#16371](https://github.com/vitessio/vitess/pull/16371)
* Fix panic in schema tracker in presence of keyspace routing rules [#16383](https://github.com/vitessio/vitess/pull/16383)
* Fix panic in schema tracker in presence of keyspace routing rules [#16383](https://github.com/vitessio/vitess/pull/16383)
* [release-21.0] Fix deadlock between health check and topology watcher (#16995) [#17010](https://github.com/vitessio/vitess/pull/17010)
#### VTTablet
* Fix race in `replicationLagModule` of `go/vt/throttle` [#16078](https://github.com/vitessio/vitess/pull/16078)
#### VTorc
Expand All @@ -119,7 +124,8 @@
* CI: Use valid tag for the ossf-scorecard action [#16730](https://github.com/vitessio/vitess/pull/16730)
* `endtoend`: better error reporting in Online DDL MySQL execution tests [#16786](https://github.com/vitessio/vitess/pull/16786)
* Docker Images Build CI action: add updated version from release-20.0 back in prep for v21 release [#16799](https://github.com/vitessio/vitess/pull/16799)
* Use `go-version-file: go.mod` in CI [#16841](https://github.com/vitessio/vitess/pull/16841)
* Use `go-version-file: go.mod` in CI [#16841](https://github.com/vitessio/vitess/pull/16841)
* [release-21.0] Flakes: Address flakes in TestMoveTables* unit tests (#16942) [#16951](https://github.com/vitessio/vitess/pull/16951)
#### Docker
* Docker: Update node vtadmin version [#16147](https://github.com/vitessio/vitess/pull/16147)
* Fix `docker_lite_push` make target [#16662](https://github.com/vitessio/vitess/pull/16662)
Expand All @@ -134,7 +140,8 @@
* CI: wait-for rather than 'assume' in Online DDL flow [#16210](https://github.com/vitessio/vitess/pull/16210)
* A couple changes in Online DDL CI [#16272](https://github.com/vitessio/vitess/pull/16272)
#### VReplication
* CI: Lower resources used for TestVtctldMigrateSharded [#16875](https://github.com/vitessio/vitess/pull/16875)
* CI: Lower resources used for TestVtctldMigrateSharded [#16875](https://github.com/vitessio/vitess/pull/16875)
* [release-21.0] VReplication: Restore previous minimal e2e test behavior (#17016) [#17017](https://github.com/vitessio/vitess/pull/17017)
#### VTAdmin
* Update micromatch to 4.0.8 [#16660](https://github.com/vitessio/vitess/pull/16660)
#### VTGate
Expand All @@ -158,7 +165,8 @@
#### Documentation
* Changelog 20.0: Fix broken links [#16048](https://github.com/vitessio/vitess/pull/16048)
* copy editing changes to summary [#16880](https://github.com/vitessio/vitess/pull/16880)
* Add blurb about experimental 8.4 support [#16886](https://github.com/vitessio/vitess/pull/16886)
* Add blurb about experimental 8.4 support [#16886](https://github.com/vitessio/vitess/pull/16886)
* [release-21.0] Add missing changelog for PR #16852 (#17002) [#17006](https://github.com/vitessio/vitess/pull/17006)
#### General
* release notes: update dml related release notes [#16241](https://github.com/vitessio/vitess/pull/16241)
#### VReplication
Expand All @@ -167,13 +175,15 @@
* clarify collations are also supported for `db_charset` [#16423](https://github.com/vitessio/vitess/pull/16423)
### Enhancement
#### Build/CI
* Improve the queries upgrade/downgrade CI workflow by using same test code version as binary [#16494](https://github.com/vitessio/vitess/pull/16494)
* Improve the queries upgrade/downgrade CI workflow by using same test code version as binary [#16494](https://github.com/vitessio/vitess/pull/16494)
* [release-21.0] Change upgrade test to still use the older version of tests (#16937) [#16970](https://github.com/vitessio/vitess/pull/16970)
#### CLI
* Support specifying expected primary in ERS/PRS [#16852](https://github.com/vitessio/vitess/pull/16852)
#### Cluster management
* Prefer replicas that have innodb buffer pool populated in PRS [#16374](https://github.com/vitessio/vitess/pull/16374)
* Allow cross cell promotion in PRS [#16461](https://github.com/vitessio/vitess/pull/16461)
* Fix: Errant GTID detection on the replicas when they set replication source [#16833](https://github.com/vitessio/vitess/pull/16833)
* Fix: Errant GTID detection on the replicas when they set replication source [#16833](https://github.com/vitessio/vitess/pull/16833)
* [release-21.0] [Direct PR] Add RPC to read the reparent journal position [#16982](https://github.com/vitessio/vitess/pull/16982)
#### Docker
* Remove the `bootstrap` dependency on the Docker images we ship [#16339](https://github.com/vitessio/vitess/pull/16339)
#### Evalengine
Expand Down Expand Up @@ -245,7 +255,8 @@
* VTAdmin: Initiate workflow details tab [#16570](https://github.com/vitessio/vitess/pull/16570)
* VTAdmin: Workflow status endpoint [#16587](https://github.com/vitessio/vitess/pull/16587)
* VTAdmin(API): Add workflow start/stop endpoint [#16658](https://github.com/vitessio/vitess/pull/16658)
* VTAdmin: Distributed transactions list on VTAdmin [#16793](https://github.com/vitessio/vitess/pull/16793)
* VTAdmin: Distributed transactions list on VTAdmin [#16793](https://github.com/vitessio/vitess/pull/16793)
* [Release 21.0] [Direct PR] Conclude txn in VTAdmin and `GetUnresolvedTransactions` bug fix [#16949](https://github.com/vitessio/vitess/pull/16949)
#### VTCombo
* VTCombo: Ensure VSchema exists when creating keyspace [#16094](https://github.com/vitessio/vitess/pull/16094)
#### VTGate
Expand All @@ -269,7 +280,7 @@
* VTAdmin(web): Add workflow start/stop actions [#16675](https://github.com/vitessio/vitess/pull/16675)
* VTAdmin(web): Some tweaks in the workflow details [#16706](https://github.com/vitessio/vitess/pull/16706)
* VTAdmin(web): Initiate MoveTables workflow create screen [#16707](https://github.com/vitessio/vitess/pull/16707)
### Feature Request
### Feature
#### Backup and Restore
* adding new mysql shell backup engine [#16295](https://github.com/vitessio/vitess/pull/16295)
* select backup engine in Backup() and ignore engines in RestoreFromBackup() [#16428](https://github.com/vitessio/vitess/pull/16428)
Expand Down Expand Up @@ -388,7 +399,10 @@
* fix: order by subquery planning [#16049](https://github.com/vitessio/vitess/pull/16049)
* feat: add a LIMIT 1 on EXISTS subqueries to limit network overhead [#16153](https://github.com/vitessio/vitess/pull/16153)
* bugfix: Allow cross-keyspace joins [#16520](https://github.com/vitessio/vitess/pull/16520)
* [release-21.0] [Direct PR] fix: route engine to handle column truncation for execute after lookup (#16981) [#16986](https://github.com/vitessio/vitess/pull/16986)
### Release
#### Build/CI
* [release-21.0] Fix the release workflow (#16964) [#17020](https://github.com/vitessio/vitess/pull/17020)
#### General
* [main] Copy `v20.0.0-RC1` release notes [#16140](https://github.com/vitessio/vitess/pull/16140)
* [main] Copy `v20.0.0-RC2` release notes [#16234](https://github.com/vitessio/vitess/pull/16234)
Expand All @@ -400,14 +414,17 @@
* [main] Copy `v19.0.6` release notes [#16752](https://github.com/vitessio/vitess/pull/16752)
* [main] Copy `v20.0.2` release notes [#16755](https://github.com/vitessio/vitess/pull/16755)
* [release-21.0] Code Freeze for `v21.0.0-RC1` [#16912](https://github.com/vitessio/vitess/pull/16912)
* [release-21.0] Release of `v21.0.0-RC1` [#16950](https://github.com/vitessio/vitess/pull/16950)
* [release-21.0] Bump to `v21.0.0-SNAPSHOT` after the `v21.0.0-RC1` release [#16955](https://github.com/vitessio/vitess/pull/16955)
### Testing
#### Build/CI
* Online DDL flow CI: Update golang version to 1.22.4 [#16066](https://github.com/vitessio/vitess/pull/16066)
* Run the static checks workflow if the file changes [#16659](https://github.com/vitessio/vitess/pull/16659)
* Fix error contain checks in vtgate package [#16672](https://github.com/vitessio/vitess/pull/16672)
* Don't show skipped tests in summary action [#16859](https://github.com/vitessio/vitess/pull/16859)
#### Cluster management
* Add semi-sync plugin test in main [#16372](https://github.com/vitessio/vitess/pull/16372)
* Add semi-sync plugin test in main [#16372](https://github.com/vitessio/vitess/pull/16372)
* [release-21.0] Flaky test fixes (#16940) [#16960](https://github.com/vitessio/vitess/pull/16960)
#### General
* CI Summary Addition [#16143](https://github.com/vitessio/vitess/pull/16143)
* Add Summary in unit-race workflow [#16164](https://github.com/vitessio/vitess/pull/16164)
Expand Down
7 changes: 6 additions & 1 deletion changelog/21.0/21.0.0/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
- **[Experimental MySQL 8.4 support](#experimental-mysql-84)**
- **[Current Errant GTIDs Count Metric](#errant-gtid-metric)**
- **[vtctldclient ChangeTabletTags](#vtctldclient-changetablettags)**
- **[Support for specifying expected primary in reparents](#reparents-expectedprimary)**


## <a id="major-changes"/>Major Changes</a>
Expand Down Expand Up @@ -236,10 +237,14 @@ This metric shows the current count of the errant GTIDs in the tablets.

The `vtctldclient` command `ChangeTabletTags` was added to allow the tags of a tablet to be changed dynamically.

### <a id="reparents-expectedprimary"/>Support specifying expected primary in reparents

The `EmergencyReparentShard` and `PlannedReparentShard` commands and RPCs now support specifying a primary we expect to still be the current primary in order for a reparent operation to be processed. This allows reparents to be conditional on a specific state being true.

------------
The entire changelog for this release can be found [here](https://github.com/vitessio/vitess/blob/main/changelog/21.0/21.0.0/changelog.md).

The release includes 338 merged Pull Requests.
The release includes 354 merged Pull Requests.

Thanks to all our contributors: @GrahamCampbell, @GuptaManan100, @Utkar5hM, @anshikavashistha, @app/dependabot, @app/vitess-bot, @arthurschreiber, @beingnoble03, @brendar, @cameronmccord2, @chrism1001, @cuishuang, @dbussink, @deepthi, @demmer, @frouioui, @harshit-gangal, @harshitasao, @icyflame, @kirtanchandak, @mattlord, @mattrobenolt, @maxenglander, @mcrauwel, @notfelineit, @perminov, @rafer, @rohit-nayak-ps, @runewake2, @rvrangel, @shanth96, @shlomi-noach, @systay, @timvaillancourt, @vitess-bot

20 changes: 10 additions & 10 deletions examples/compose/docker-compose.beginners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ services:
- "3306"

vtctld:
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
ports:
- "15000:$WEB_PORT"
- "$GRPC_PORT"
Expand All @@ -83,7 +83,7 @@ services:
condition: service_healthy
vtgate:
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
ports:
- "15099:$WEB_PORT"
- "$GRPC_PORT"
Expand Down Expand Up @@ -113,7 +113,7 @@ services:
condition: service_healthy

schemaload:
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
command:
- sh
- -c
Expand Down Expand Up @@ -146,12 +146,12 @@ services:
environment:
- KEYSPACES=$KEYSPACE
- GRPC_PORT=15999
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
volumes:
- .:/script

vttablet100:
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
ports:
- "15100:$WEB_PORT"
- "$GRPC_PORT"
Expand Down Expand Up @@ -183,7 +183,7 @@ services:
retries: 15

vttablet101:
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
ports:
- "15101:$WEB_PORT"
- "$GRPC_PORT"
Expand Down Expand Up @@ -215,7 +215,7 @@ services:
retries: 15

vttablet102:
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
ports:
- "15102:$WEB_PORT"
- "$GRPC_PORT"
Expand Down Expand Up @@ -247,7 +247,7 @@ services:
retries: 15

vttablet103:
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
ports:
- "15103:$WEB_PORT"
- "$GRPC_PORT"
Expand Down Expand Up @@ -279,7 +279,7 @@ services:
retries: 15

vtorc:
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
command: ["sh", "-c", "/script/vtorc-up.sh"]
depends_on:
- vtctld
Expand Down Expand Up @@ -309,7 +309,7 @@ services:
retries: 15

vreplication:
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
volumes:
- ".:/script"
environment:
Expand Down
26 changes: 13 additions & 13 deletions examples/compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ services:
- SCHEMA_FILES=lookup_keyspace_schema_file.sql
- POST_LOAD_FILE=
- EXTERNAL_DB=0
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
volumes:
- .:/script
schemaload_test_keyspace:
Expand All @@ -101,7 +101,7 @@ services:
- SCHEMA_FILES=test_keyspace_schema_file.sql
- POST_LOAD_FILE=
- EXTERNAL_DB=0
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
volumes:
- .:/script
set_keyspace_durability_policy:
Expand All @@ -115,7 +115,7 @@ services:
environment:
- KEYSPACES=test_keyspace lookup_keyspace
- GRPC_PORT=15999
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
volumes:
- .:/script
vreplication:
Expand All @@ -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:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
volumes:
- .:/script
vtctld:
Expand All @@ -143,7 +143,7 @@ services:
depends_on:
external_db_host:
condition: service_healthy
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
ports:
- 15000:8080
- "15999"
Expand All @@ -160,7 +160,7 @@ services:
--normalize_queries=true '
depends_on:
- vtctld
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
ports:
- 15099:8080
- "15999"
Expand All @@ -182,7 +182,7 @@ services:
- EXTERNAL_DB=0
- DB_USER=
- DB_PASS=
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
ports:
- 13000:8080
volumes:
Expand Down Expand Up @@ -217,7 +217,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
ports:
- 15101:8080
- "15999"
Expand Down Expand Up @@ -254,7 +254,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
ports:
- 15102:8080
- "15999"
Expand Down Expand Up @@ -291,7 +291,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
ports:
- 15201:8080
- "15999"
Expand Down Expand Up @@ -328,7 +328,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
ports:
- 15202:8080
- "15999"
Expand Down Expand Up @@ -365,7 +365,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
ports:
- 15301:8080
- "15999"
Expand Down Expand Up @@ -402,7 +402,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v21.0.0-rc1
image: vitess/lite:v21.0.0-rc2
ports:
- 15302:8080
- "15999"
Expand Down
Loading

0 comments on commit 54fa8d8

Please sign in to comment.