Skip to content

Commit 9a8dbe0

Browse files
vitess-botfrouioui
andauthored
[main] Copy v22.0.0-RC2 release notes (vitessio#18169)
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr> Co-authored-by: Florent Poinsard <florent.poinsard@outlook.fr>
1 parent 9e734f8 commit 9a8dbe0

File tree

2 files changed

+31
-5
lines changed

2 files changed

+31
-5
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

0 commit comments

Comments
 (0)