Skip to content

Commit a5f5b70

Browse files
vitess-botfrouioui
andauthored
[release-22.0] Release of v22.0.0-RC2 (#18168)
Signed-off-by: Florent Poinsard <[email protected]> Co-authored-by: Florent Poinsard <[email protected]>
1 parent d00e997 commit a5f5b70

File tree

18 files changed

+117
-91
lines changed

18 files changed

+117
-91
lines changed

changelog/22.0/22.0.0/changelog.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@
6666
* Set proper join vars type for the RHS field query in OLAP [#18028](https://github.com/vitessio/vitess/pull/18028)
6767
* Bugfix: Missing data when running vtgate outer joins [#18036](https://github.com/vitessio/vitess/pull/18036)
6868
* Fix `SHOW VITESS_SHARDS` bug that led to incomplete output [#18069](https://github.com/vitessio/vitess/pull/18069)
69-
* [release-22.0] bugfix: allow window functions when possible to push down (#18103) [#18106](https://github.com/vitessio/vitess/pull/18106)
69+
* [release-22.0] bugfix: allow window functions when possible to push down (#18103) [#18106](https://github.com/vitessio/vitess/pull/18106)
70+
* [release-22.0] Fix: Add tablet type to the plan key (#18155) [#18156](https://github.com/vitessio/vitess/pull/18156)
71+
* [release-22.0] Fix split statement for create procedure to account for definers (#18142) [#18158](https://github.com/vitessio/vitess/pull/18158)
72+
* [release-22.0] bugfix: INSERT IGNORE not inserting rows (#18151) [#18165](https://github.com/vitessio/vitess/pull/18165)
7073
#### Schema Tracker
7174
* `engine.Reload()`: fix file size aggregation for partitioned tables [#18058](https://github.com/vitessio/vitess/pull/18058)
7275
#### Topology
@@ -198,6 +201,7 @@
198201
* Update email address for mattlord [#17961](https://github.com/vitessio/vitess/pull/17961)
199202
#### Query Serving
200203
* Update Atomic Distributed Transaction Design [#17005](https://github.com/vitessio/vitess/pull/17005)
204+
* [release-22.0] Add summary note change for unsharded `create procedure` support (#18148) [#18157](https://github.com/vitessio/vitess/pull/18157)
201205
### Enhancement
202206
#### Authn/z
203207
* Add support for hashed caching sha2 passwords [#17948](https://github.com/vitessio/vitess/pull/17948)
@@ -355,7 +359,8 @@
355359
#### Query Serving
356360
* Add savepoint support to atomic distributed transaction [#16863](https://github.com/vitessio/vitess/pull/16863)
357361
* feat: add metrics for atomic distributed transactions [#16939](https://github.com/vitessio/vitess/pull/16939)
358-
* connection pool: max idle connections implementation [#17443](https://github.com/vitessio/vitess/pull/17443)
362+
* connection pool: max idle connections implementation [#17443](https://github.com/vitessio/vitess/pull/17443)
363+
* [release-22.0] Add a new implementation for handling multiple queries without needing to split them (#18059) [#18139](https://github.com/vitessio/vitess/pull/18139)
359364
#### VReplication
360365
* LookupVindex: Implement `internalize` command for lookup vindexes [#17429](https://github.com/vitessio/vitess/pull/17429)
361366
* VReplication: Support passing VStream filters down to MySQL [#17677](https://github.com/vitessio/vitess/pull/17677)
@@ -520,6 +525,8 @@
520525
* [main] Copy `v19.0.10` release notes [#17769](https://github.com/vitessio/vitess/pull/17769)
521526
* [release-22.0] Code Freeze for `v22.0.0-RC1` [#18087](https://github.com/vitessio/vitess/pull/18087)
522527
* Bump to `v23.0.0-SNAPSHOT` after the `v22.0.0-RC1` release [#18088](https://github.com/vitessio/vitess/pull/18088)
528+
* [release-22.0] Release of `v22.0.0-RC1` [#18128](https://github.com/vitessio/vitess/pull/18128)
529+
* [release-22.0] Bump to `v22.0.0-SNAPSHOT` after the `v22.0.0-RC1` release [#18134](https://github.com/vitessio/vitess/pull/18134)
523530
### Testing
524531
#### Backup and Restore
525532
* fix flaky test on mysqlshell backup engine [#17037](https://github.com/vitessio/vitess/pull/17037)
@@ -553,7 +560,8 @@
553560
* benchmark: TwoPC commit mode [#17397](https://github.com/vitessio/vitess/pull/17397)
554561
* test: make it easier to run tests without a main keyspace [#17501](https://github.com/vitessio/vitess/pull/17501)
555562
* Fix TestTrackerNoLock flaky test by increasing time to mark failure [#17886](https://github.com/vitessio/vitess/pull/17886)
556-
* Test: Increase query timeout to fix flaky test 'TestQueryTimeoutWithShardTargeting' [#18016](https://github.com/vitessio/vitess/pull/18016)
563+
* Test: Increase query timeout to fix flaky test 'TestQueryTimeoutWithShardTargeting' [#18016](https://github.com/vitessio/vitess/pull/18016)
564+
* Skip end-to-end test [#18162](https://github.com/vitessio/vitess/pull/18162)
557565
#### TabletManager
558566
* Skip `TestRunFailsToStartTabletManager` for now [#17167](https://github.com/vitessio/vitess/pull/17167)
559567
* Fix flaky mysqlctl blackbox test [#17387](https://github.com/vitessio/vitess/pull/17387)
@@ -572,6 +580,8 @@
572580
* test: Add unit tests for `vtctl/workflow` [#17618](https://github.com/vitessio/vitess/pull/17618)
573581
* test: Add more unit tests for `server.go` [#17679](https://github.com/vitessio/vitess/pull/17679)
574582
* CI: Add some randomness to the ports used in VReplication e2e tests [#17712](https://github.com/vitessio/vitess/pull/17712)
583+
#### VTGate
584+
* [release-22.0]: skip test check for upgrade test for TestStraighJoin [#18153](https://github.com/vitessio/vitess/pull/18153)
575585
#### VTTablet
576586
* Fix data race in `TestIsServingLocked` [#17728](https://github.com/vitessio/vitess/pull/17728)
577587
#### VTorc

changelog/22.0/22.0.0/release_notes.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@
2828
- [LAST_INSERT_ID(x)](#last-insert-id)
2929
- [Maximum Idle Connections in the Pool](#max-idle-connections)
3030
- [Filtering Query logs on Error](#query-logs)
31+
- [MultiQuery RPC in vtgate](#multiquery)
32+
- [Unsharded `CREATE PROCEDURE` support](#create-procedure)
3133
- **[Optimization](#optimization)**
3234
- [Prepared Statement](#prepared-statement)
3335
- **[RPC Changes](#rpc-changes)**
@@ -120,7 +122,7 @@ $ vtctldclient ApplySchema --ddl-strategy="pt-osc" ...
120122
| `CommitUnresolved` | N/A | Counter for failure after Prepare. | [#16939](https://github.com/vitessio/vitess/pull/16939) |
121123

122124

123-
The work done in [#17727](https://github.com/vitessio/vitess/pull/17727) introduces new metrics for queries. Via this work we have deprecated several vtgate metrics, please see the [Deprecated Metrics](#deprecated-metrics) section. Here is an example on how to use them:
125+
The work done in [#17727](https://github.com/vitessio/vitess/pull/17727) introduces new metrics for queries. Via this work we have deprecated several vtgate metrics, please see the [Deprecated Metrics](#deprecated-metrics) section. Here is an example on how to use them:
124126
```
125127
Query: select t1.a, t2.b from t1 join t2 on t1.id = t2.id
126128
Shards: 2
@@ -267,6 +269,20 @@ The `querylog-mode` setting can be configured to `error` to log only queries tha
267269

268270
---
269271

272+
#### <a id="multiquery"/>MultiQuery RPC in vtgate</a>
273+
274+
New RPCs in vtgate have been added that allow users to pass multiple queries in a single sql string. It behaves the same way MySQL does where-in multiple result sets for the queries are returned in the same order as the queries were passed until an error is encountered. The new RPCs are `ExecuteMulti` and `StreamExecuteMulti`.
275+
276+
A new flag `--mysql-server-multi-query-protocol` has also been added that makes the server use this new implementation. This flag is set to `false` by default, so the old implementation is used by default. The new implementation is more efficient and allows for better performance when executing multiple queries in a single RPC call.
277+
278+
---
279+
280+
#### <a id="create-procedure"/>Unsharded `CREATE PROCEDURE` support</a>
281+
282+
Until now Vitess didn't allow users to create procedures through the vtgate, and they had to be created by running a DDL directly against the vttablets. In this release, we have started adding support for running `CREATE PROCEDURE` statements through the vtgate for unsharded keyspaces. Not all constructs of procedures are currently supported in the parser, so there are still some limitations which will be addressed in future releases.
283+
284+
---
285+
270286
### <a id="optimization"/>Optimization</a>
271287

272288
#### <a id="prepared-statement"/>Prepared Statement</a>
@@ -363,7 +379,7 @@ Full details on the node v20.12.2 release can be found at https://nodejs.org/en/
363379
------------
364380
The entire changelog for this release can be found [here](https://github.com/vitessio/vitess/blob/main/changelog/22.0/22.0.0/changelog.md).
365381

366-
The release includes 457 merged Pull Requests.
382+
The release includes 466 merged Pull Requests.
367383

368384
Thanks to all our contributors: @GrahamCampbell, @GuptaManan100, @L3o-pold, @akagami-harsh, @anirbanmu, @app/dependabot, @app/vitess-bot, @arthmis, @arthurschreiber, @beingnoble03, @c-r-dev, @corbantek, @dbussink, @deepthi, @derekperkins, @ejortegau, @frouioui, @garfthoffman, @gmpify, @gopoto, @harshit-gangal, @huochexizhan, @jeefy, @jwangace, @kbutz, @lmorduch, @mattlord, @mattrobenolt, @maxenglander, @mcrauwel, @mounicasruthi, @niladrix719, @notfelineit, @rafer, @rohit-nayak-ps, @rvrangel, @shailpujan88, @shanth96, @shlomi-noach, @siadat, @systay, @timvaillancourt, @twthorn, @vitess-bot, @vmg, @wiebeytec, @wukuai
369385

examples/compose/docker-compose.beginners.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ services:
5858
- "3306"
5959

6060
vtctld:
61-
image: vitess/lite:v22.0.0-rc1
61+
image: vitess/lite:v22.0.0-rc2
6262
ports:
6363
- "15000:$WEB_PORT"
6464
- "$GRPC_PORT"
@@ -83,7 +83,7 @@ services:
8383
condition: service_healthy
8484
8585
vtgate:
86-
image: vitess/lite:v22.0.0-rc1
86+
image: vitess/lite:v22.0.0-rc2
8787
ports:
8888
- "15099:$WEB_PORT"
8989
- "$GRPC_PORT"
@@ -113,7 +113,7 @@ services:
113113
condition: service_healthy
114114

115115
schemaload:
116-
image: vitess/lite:v22.0.0-rc1
116+
image: vitess/lite:v22.0.0-rc2
117117
command:
118118
- sh
119119
- -c
@@ -146,12 +146,12 @@ services:
146146
environment:
147147
- KEYSPACES=$KEYSPACE
148148
- GRPC_PORT=15999
149-
image: vitess/lite:v22.0.0-rc1
149+
image: vitess/lite:v22.0.0-rc2
150150
volumes:
151151
- .:/script
152152

153153
vttablet100:
154-
image: vitess/lite:v22.0.0-rc1
154+
image: vitess/lite:v22.0.0-rc2
155155
ports:
156156
- "15100:$WEB_PORT"
157157
- "$GRPC_PORT"
@@ -183,7 +183,7 @@ services:
183183
retries: 15
184184

185185
vttablet101:
186-
image: vitess/lite:v22.0.0-rc1
186+
image: vitess/lite:v22.0.0-rc2
187187
ports:
188188
- "15101:$WEB_PORT"
189189
- "$GRPC_PORT"
@@ -215,7 +215,7 @@ services:
215215
retries: 15
216216

217217
vttablet102:
218-
image: vitess/lite:v22.0.0-rc1
218+
image: vitess/lite:v22.0.0-rc2
219219
ports:
220220
- "15102:$WEB_PORT"
221221
- "$GRPC_PORT"
@@ -247,7 +247,7 @@ services:
247247
retries: 15
248248

249249
vttablet103:
250-
image: vitess/lite:v22.0.0-rc1
250+
image: vitess/lite:v22.0.0-rc2
251251
ports:
252252
- "15103:$WEB_PORT"
253253
- "$GRPC_PORT"
@@ -279,7 +279,7 @@ services:
279279
retries: 15
280280

281281
vtorc:
282-
image: vitess/lite:v22.0.0-rc1
282+
image: vitess/lite:v22.0.0-rc2
283283
command: ["sh", "-c", "/script/vtorc-up.sh"]
284284
depends_on:
285285
- vtctld
@@ -309,7 +309,7 @@ services:
309309
retries: 15
310310

311311
vreplication:
312-
image: vitess/lite:v22.0.0-rc1
312+
image: vitess/lite:v22.0.0-rc2
313313
volumes:
314314
- ".:/script"
315315
environment:

examples/compose/docker-compose.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ services:
7575
- SCHEMA_FILES=lookup_keyspace_schema_file.sql
7676
- POST_LOAD_FILE=
7777
- EXTERNAL_DB=0
78-
image: vitess/lite:v22.0.0-rc1
78+
image: vitess/lite:v22.0.0-rc2
7979
volumes:
8080
- .:/script
8181
schemaload_test_keyspace:
@@ -101,7 +101,7 @@ services:
101101
- SCHEMA_FILES=test_keyspace_schema_file.sql
102102
- POST_LOAD_FILE=
103103
- EXTERNAL_DB=0
104-
image: vitess/lite:v22.0.0-rc1
104+
image: vitess/lite:v22.0.0-rc2
105105
volumes:
106106
- .:/script
107107
set_keyspace_durability_policy:
@@ -115,7 +115,7 @@ services:
115115
environment:
116116
- KEYSPACES=test_keyspace lookup_keyspace
117117
- GRPC_PORT=15999
118-
image: vitess/lite:v22.0.0-rc1
118+
image: vitess/lite:v22.0.0-rc2
119119
volumes:
120120
- .:/script
121121
vreplication:
@@ -129,7 +129,7 @@ services:
129129
- TOPOLOGY_FLAGS=--topo_implementation consul --topo_global_server_address consul1:8500
130130
--topo_global_root vitess/global
131131
- EXTERNAL_DB=0
132-
image: vitess/lite:v22.0.0-rc1
132+
image: vitess/lite:v22.0.0-rc2
133133
volumes:
134134
- .:/script
135135
vtctld:
@@ -143,7 +143,7 @@ services:
143143
depends_on:
144144
external_db_host:
145145
condition: service_healthy
146-
image: vitess/lite:v22.0.0-rc1
146+
image: vitess/lite:v22.0.0-rc2
147147
ports:
148148
- 15000:8080
149149
- "15999"
@@ -160,7 +160,7 @@ services:
160160
--normalize_queries=true '
161161
depends_on:
162162
- vtctld
163-
image: vitess/lite:v22.0.0-rc1
163+
image: vitess/lite:v22.0.0-rc2
164164
ports:
165165
- 15099:8080
166166
- "15999"
@@ -182,7 +182,7 @@ services:
182182
- EXTERNAL_DB=0
183183
- DB_USER=
184184
- DB_PASS=
185-
image: vitess/lite:v22.0.0-rc1
185+
image: vitess/lite:v22.0.0-rc2
186186
ports:
187187
- 13000:8080
188188
volumes:
@@ -217,7 +217,7 @@ services:
217217
- CMD-SHELL
218218
- curl -s --fail --show-error localhost:8080/debug/health
219219
timeout: 10s
220-
image: vitess/lite:v22.0.0-rc1
220+
image: vitess/lite:v22.0.0-rc2
221221
ports:
222222
- 15101:8080
223223
- "15999"
@@ -254,7 +254,7 @@ services:
254254
- CMD-SHELL
255255
- curl -s --fail --show-error localhost:8080/debug/health
256256
timeout: 10s
257-
image: vitess/lite:v22.0.0-rc1
257+
image: vitess/lite:v22.0.0-rc2
258258
ports:
259259
- 15102:8080
260260
- "15999"
@@ -291,7 +291,7 @@ services:
291291
- CMD-SHELL
292292
- curl -s --fail --show-error localhost:8080/debug/health
293293
timeout: 10s
294-
image: vitess/lite:v22.0.0-rc1
294+
image: vitess/lite:v22.0.0-rc2
295295
ports:
296296
- 15201:8080
297297
- "15999"
@@ -328,7 +328,7 @@ services:
328328
- CMD-SHELL
329329
- curl -s --fail --show-error localhost:8080/debug/health
330330
timeout: 10s
331-
image: vitess/lite:v22.0.0-rc1
331+
image: vitess/lite:v22.0.0-rc2
332332
ports:
333333
- 15202:8080
334334
- "15999"
@@ -365,7 +365,7 @@ services:
365365
- CMD-SHELL
366366
- curl -s --fail --show-error localhost:8080/debug/health
367367
timeout: 10s
368-
image: vitess/lite:v22.0.0-rc1
368+
image: vitess/lite:v22.0.0-rc2
369369
ports:
370370
- 15301:8080
371371
- "15999"
@@ -402,7 +402,7 @@ services:
402402
- CMD-SHELL
403403
- curl -s --fail --show-error localhost:8080/debug/health
404404
timeout: 10s
405-
image: vitess/lite:v22.0.0-rc1
405+
image: vitess/lite:v22.0.0-rc2
406406
ports:
407407
- 15302:8080
408408
- "15999"

0 commit comments

Comments
 (0)