Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-21.0] Release of v21.0.0 #17082

Merged
merged 4 commits into from
Oct 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/code_freeze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ jobs:
steps:
- name: Fail if Code Freeze is enabled
run: |
exit 1
exit 0
5 changes: 4 additions & 1 deletion changelog/21.0/21.0.0/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@
* [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)
#### Query Serving
* [Direct PR][release note]: Atomic Distributed Transaction [#17079](https://github.com/vitessio/vitess/pull/17079)
#### VReplication
* Release docs: Add vreplication related entries to the v20 summary [#16259](https://github.com/vitessio/vitess/pull/16259)
#### VTTablet
Expand Down Expand Up @@ -378,7 +380,7 @@
* Support passing filters to `discovery.NewHealthCheck(...)` [#16170](https://github.com/vitessio/vitess/pull/16170)
#### VTTablet
* `txthrottler`: move `ThrottlerInterface` to `go/vt/throttler`, use `slices` pkg, add stats [#16248](https://github.com/vitessio/vitess/pull/16248)
* Deprecate vttablet metrics `QueryCacheXX` and rename to `TabletQueryPlanCacheXX` [#16289](https://github.com/vitessio/vitess/pull/16289)
* Deprecate vttablet metrics `QueryCacheXX` and rename to `QueryPlanCacheXX` [#16289](https://github.com/vitessio/vitess/pull/16289)
#### schema management
* `schemadiff`/Online DDL internal refactor [#16767](https://github.com/vitessio/vitess/pull/16767)
#### vtctldclient
Expand Down Expand Up @@ -423,6 +425,7 @@
* [release-21.0] Bump to `v21.0.0-SNAPSHOT` after the `v21.0.0-RC1` release [#16955](https://github.com/vitessio/vitess/pull/16955)
* [release-21.0] Release of `v21.0.0-RC2` [#17022](https://github.com/vitessio/vitess/pull/17022)
* [release-21.0] Bump to `v21.0.0-SNAPSHOT` after the `v21.0.0-RC2` release [#17049](https://github.com/vitessio/vitess/pull/17049)
* [release-21.0] Add release notes for known issue in v21.0.0 [#17067](https://github.com/vitessio/vitess/pull/17067)
### Testing
#### Build/CI
* Online DDL flow CI: Update golang version to 1.22.4 [#16066](https://github.com/vitessio/vitess/pull/16066)
Expand Down
14 changes: 13 additions & 1 deletion changelog/21.0/21.0.0/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
- [Deletion of deprecated metrics](#metric-deletion)
- [Deprecated Metrics](#deprecations-metrics)
- **[Traffic Mirroring](#traffic-mirroring)**
- **[Atomic Distributed Transaction Support](#atomic-transaction)**
- **[New VTGate Shutdown Behavior](#new-vtgate-shutdown-behavior)**
- **[Tablet Throttler: Multi-Metric support](#tablet-throttler)**
- **[Allow Cross Cell Promotion in PRS](#allow-cross-cell)**
Expand Down Expand Up @@ -90,6 +91,17 @@ $ vtctldclient --server :15999 MoveTables --target-keyspace customer --workflow

Mirror rules can be inspected with `GetMirrorRules`.

### <a id="atomic-transaction"/>Atomic Distributed Transaction Support</a>

We have introduced atomic distributed transactions as an experimental feature.
Users can now run multi-shard transactions with stronger guarantees.
Vitess now provides two modes of transactional guarantees for multi-shard transactions: Best Effort and Atomic.
These can be selected based on the user’s requirements and the trade-offs they are willing to make.

Follow the documentation to enable [Atomic Distributed Transaction](https://vitess.io/docs/21.0/reference/features/distributed-transaction/)

For more details on the implementation and trade-offs, please refer to the [RFC](https://github.com/vitessio/vitess/issues/16245)

### <a id="new-vtgate-shutdown-behavior"/>New VTGate Shutdown Behavior</a>

We added a new option to VTGate to disallow new connections while VTGate is shutting down,
Expand Down Expand Up @@ -245,7 +257,7 @@ The `EmergencyReparentShard` and `PlannedReparentShard` commands and RPCs now su
------------
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 362 merged Pull Requests.
The release includes 364 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-rc2
image: vitess/lite:v21.0.0
ports:
- "15000:$WEB_PORT"
- "$GRPC_PORT"
Expand All @@ -83,7 +83,7 @@ services:
condition: service_healthy

vtgate:
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
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-rc2
image: vitess/lite:v21.0.0
command:
- sh
- -c
Expand Down Expand Up @@ -146,12 +146,12 @@ services:
environment:
- KEYSPACES=$KEYSPACE
- GRPC_PORT=15999
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
volumes:
- .:/script

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

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

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

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

vtorc:
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
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-rc2
image: vitess/lite:v21.0.0
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-rc2
image: vitess/lite:v21.0.0
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-rc2
image: vitess/lite:v21.0.0
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-rc2
image: vitess/lite:v21.0.0
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-rc2
image: vitess/lite:v21.0.0
volumes:
- .:/script
vtctld:
Expand All @@ -143,7 +143,7 @@ services:
depends_on:
external_db_host:
condition: service_healthy
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
ports:
- 15000:8080
- "15999"
Expand All @@ -160,7 +160,7 @@ services:
--normalize_queries=true '
depends_on:
- vtctld
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
ports:
- 15099:8080
- "15999"
Expand All @@ -182,7 +182,7 @@ services:
- EXTERNAL_DB=0
- DB_USER=
- DB_PASS=
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
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-rc2
image: vitess/lite:v21.0.0
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-rc2
image: vitess/lite:v21.0.0
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-rc2
image: vitess/lite:v21.0.0
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-rc2
image: vitess/lite:v21.0.0
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-rc2
image: vitess/lite:v21.0.0
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-rc2
image: vitess/lite:v21.0.0
ports:
- 15302:8080
- "15999"
Expand Down
26 changes: 13 additions & 13 deletions examples/compose/vtcompose/docker-compose.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ services:
- SCHEMA_FILES=test_keyspace_schema_file.sql
- POST_LOAD_FILE=
- EXTERNAL_DB=0
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
volumes:
- .:/script
schemaload_unsharded_keyspace:
Expand All @@ -103,7 +103,7 @@ services:
- SCHEMA_FILES=unsharded_keyspace_schema_file.sql
- POST_LOAD_FILE=
- EXTERNAL_DB=0
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
volumes:
- .:/script
set_keyspace_durability_policy_test_keyspace:
Expand All @@ -117,7 +117,7 @@ services:
environment:
- GRPC_PORT=15999
- KEYSPACES=test_keyspace
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
volumes:
- .:/script
set_keyspace_durability_policy_unsharded_keyspace:
Expand All @@ -130,7 +130,7 @@ services:
environment:
- GRPC_PORT=15999
- KEYSPACES=unsharded_keyspace
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
volumes:
- .:/script
vreplication:
Expand All @@ -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:v21.0.0-rc2
image: vitess/lite:v21.0.0
volumes:
- .:/script
vtctld:
Expand All @@ -159,7 +159,7 @@ services:
depends_on:
external_db_host:
condition: service_healthy
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
ports:
- 15000:8080
- "15999"
Expand All @@ -176,7 +176,7 @@ services:
''grpc-vtgateservice'' --normalize_queries=true '
depends_on:
- vtctld
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
ports:
- 15099:8080
- "15999"
Expand All @@ -199,7 +199,7 @@ services:
- EXTERNAL_DB=0
- DB_USER=
- DB_PASS=
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
ports:
- 13000:8080
volumes:
Expand Down Expand Up @@ -234,7 +234,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
ports:
- 15101:8080
- "15999"
Expand Down Expand Up @@ -271,7 +271,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
ports:
- 15102:8080
- "15999"
Expand Down Expand Up @@ -308,7 +308,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
ports:
- 15201:8080
- "15999"
Expand Down Expand Up @@ -345,7 +345,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
ports:
- 15202:8080
- "15999"
Expand Down Expand Up @@ -382,7 +382,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v21.0.0-rc2
image: vitess/lite:v21.0.0
ports:
- 15301:8080
- "15999"
Expand Down
Loading
Loading