Skip to content

Commit

Permalink
Release of v17.0.3 (#14140)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <[email protected]>
Signed-off-by: Florent Poinsard <[email protected]>
Co-authored-by: Florent Poinsard <[email protected]>
  • Loading branch information
mattlord and frouioui authored Oct 3, 2023
1 parent 492ce55 commit dced85d
Show file tree
Hide file tree
Showing 20 changed files with 176 additions and 82 deletions.
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
62 changes: 62 additions & 0 deletions changelog/17.0/17.0.3/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Changelog of Vitess v17.0.3

### Bug fixes
#### Build/CI
* [release-17.0] Make `Static Code Checks Etc` fail if the `./changelog` folder is out-of-date (#14003) [#14006](https://github.com/vitessio/vitess/pull/14006)
* [release-17.0] Enable failures in `tools/e2e_test_race.sh` and fix races (#13654) [#14011](https://github.com/vitessio/vitess/pull/14011)
#### CLI
* [release-17.0] backport mysqlctl CLI compatibility fix to 17.0 [#14082](https://github.com/vitessio/vitess/pull/14082)
#### Cluster management
* [release-17.0] Fix `BackupShard` to get its options from its own flags (#13813) [#13820](https://github.com/vitessio/vitess/pull/13820)
#### Evalengine
* [release-17.0] evalengine: Mark UUID() function as non-constant (#14051) [#14057](https://github.com/vitessio/vitess/pull/14057)
#### Online DDL
* [release-17.0] OnlineDDL: fix nil 'completed_timestamp' for cancelled migrations (#13928) [#13937](https://github.com/vitessio/vitess/pull/13937)
* [release-17.0] OnlineDDL: cleanup cancelled migration artifacts; support `--retain-artifacts=<duration>` DDL strategy flag (#14029) [#14037](https://github.com/vitessio/vitess/pull/14037)
* [release-17.0] TableGC: support DROP VIEW (#14020) [#14045](https://github.com/vitessio/vitess/pull/14045)
* [release-17.0] bugfix: change column name and type to json (#14093) [#14117](https://github.com/vitessio/vitess/pull/14117)
#### Query Serving
* [release-17.0] Rewrite `USING` to `ON` condition for joins (#13931) [#13941](https://github.com/vitessio/vitess/pull/13941)
* [release-17.0] handle large number of predicates without timing out (#13979) [#13982](https://github.com/vitessio/vitess/pull/13982)
* [release-17.0] fix data race in join engine primitive olap streaming mode execution (#14012) [#14016](https://github.com/vitessio/vitess/pull/14016)
* [release-17.0] fix: cost to include subshard opcode (#14023) [#14027](https://github.com/vitessio/vitess/pull/14027)
* [release-17.0] Add session flag for stream execute grpc api (#14046) [#14053](https://github.com/vitessio/vitess/pull/14053)
#### Throttler
* [release-17.0] Tablet throttler: empty list of probes on non-leader (#13926) [#13952](https://github.com/vitessio/vitess/pull/13952)
#### VReplication
* [release-17.0] Flakes: skip flaky check that ETA for a VReplication VDiff2 Progress command is in the future. (#13804) [#13817](https://github.com/vitessio/vitess/pull/13817)
* [release-17.0] VReplication: Handle SQL NULL and JSON 'null' correctly for JSON columns (#13944) [#13947](https://github.com/vitessio/vitess/pull/13947)
* [release-17.0] copy over existing vreplication rows copied to local counter if resuming from another tablet (#13949) [#13963](https://github.com/vitessio/vitess/pull/13963)
* [release-17.0] VDiff: correct handling of default source and target cells (#13969) [#13984](https://github.com/vitessio/vitess/pull/13984)
* Backport [release-17.0] Flakes: Add recently added 'select rows_copied' query to ignore list #13993 [#14039](https://github.com/vitessio/vitess/pull/14039)
* [release-17.0] json: Fix quoting JSON keys (#14066) [#14068](https://github.com/vitessio/vitess/pull/14068)
* [release-17.0] VDiff: properly split cell values in record when using TabletPicker (#14099) [#14103](https://github.com/vitessio/vitess/pull/14103)
* [release-17.0] VDiff: Cleanup the controller for a VDiff before deleting it (#14107) [#14125](https://github.com/vitessio/vitess/pull/14125)
### CI/Build
#### Documentation
* [release-17.0] update docgen to embed commit ID in autogenerated doc frontmatter (#14056) [#14074](https://github.com/vitessio/vitess/pull/14074)
#### General
* [release-17.0] Upgrade the Golang version to `go1.20.8` [#13934](https://github.com/vitessio/vitess/pull/13934)
#### VTorc
* [release-17.0] docker: add dedicated vtorc container (#14126) [#14147](https://github.com/vitessio/vitess/pull/14147)
### Documentation
#### Documentation
* [release-17.0] anonymize homedirs in generated docs (#14101) [#14106](https://github.com/vitessio/vitess/pull/14106)
### Enhancement
#### Build/CI
* [release-17.0] Bump upgrade tests to `go1.21.0` [#13855](https://github.com/vitessio/vitess/pull/13855)
### Internal Cleanup
#### Build/CI
* [release-17.0] Use Debian Bullseye in Bootstrap [#13757](https://github.com/vitessio/vitess/pull/13757)
#### Query Serving
* [release-17.0] moved timeout test to different package (#14028) [#14032](https://github.com/vitessio/vitess/pull/14032)
### Release
#### General
* Code freeze of release-17.0 [#14138](https://github.com/vitessio/vitess/pull/14138)
### Testing
#### Build/CI
* [release-17.0] Remove FOSSA Test from CI until we can do it in a secure way (#14119) [#14122](https://github.com/vitessio/vitess/pull/14122)
* [release-17.0] Fix upgrade tests [#14143](https://github.com/vitessio/vitess/pull/14143)
#### VReplication
* [release-17.0] Flakes: empty vtdataroot before starting a new vreplication e2e test (#13803) [#13822](https://github.com/vitessio/vitess/pull/13822)

30 changes: 30 additions & 0 deletions changelog/17.0/17.0.3/release_notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Release of Vitess v17.0.3
## Summary

### Table of Contents

- **[Major Changes](#major-changes)**
- **[New command line flags and behavior](#new-flag)**
- [VTGate flag `--grpc-send-session-in-streaming`](#new-vtgate-streaming-sesion)

## <a id="major-changes"/>Major Changes

### <a id="new-flag"/>New command line flags and behavior

#### <a id="new-vtgate-streaming-sesion"/>VTGate GRPC stream execute session flag `--grpc-send-session-in-streaming`

This flag enables transaction support on `StreamExecute` api.
One enabled, VTGate `StreamExecute` grpc api will send session as the last packet in the response.
The client should enable it only when they have made the required changes to expect such a packet.

It is disabled by default from v17.0.3.

This was a breaking change when v17.0.0 was released was causing upgrade issue for client
who relied on a certain behaviour of receiving streaming packets on `StreamExecute` call.
------------
The entire changelog for this release can be found [here](https://github.com/vitessio/vitess/blob/main/changelog/17.0/17.0.3/changelog.md).

The release includes 34 merged Pull Requests.

Thanks to all our contributors: @ajm188, @app/github-actions, @app/vitess-bot, @frouioui, @mattlord, @rohit-nayak-ps

2 changes: 2 additions & 0 deletions changelog/17.0/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## v17.0
* **[17.0.3](17.0.3)**
* [Changelog](17.0.3/changelog.md)
* [Release Notes](17.0.3/release_notes.md)

* **[17.0.2](17.0.2)**
* [Changelog](17.0.2/changelog.md)
Expand Down
2 changes: 1 addition & 1 deletion docker/release.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -ex

vt_base_version='v17.0.3-SNAPSHOT'
vt_base_version='v17.0.3'
debian_versions='buster bullseye'
default_debian_version='bullseye'

Expand Down
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:v17.0.2
image: vitess/lite:v17.0.3
ports:
- "15000:$WEB_PORT"
- "$GRPC_PORT"
Expand All @@ -81,7 +81,7 @@ services:
condition: service_healthy
vtgate:
image: vitess/lite:v17.0.2
image: vitess/lite:v17.0.3
ports:
- "15099:$WEB_PORT"
- "$GRPC_PORT"
Expand Down Expand Up @@ -111,7 +111,7 @@ services:
condition: service_healthy

schemaload:
image: vitess/lite:v17.0.2
image: vitess/lite:v17.0.3
command:
- sh
- -c
Expand Down Expand Up @@ -144,12 +144,12 @@ services:
environment:
- KEYSPACES=$KEYSPACE
- GRPC_PORT=15999
image: vitess/lite:v17.0.2
image: vitess/lite:v17.0.3
volumes:
- .:/script

vttablet100:
image: vitess/lite:v17.0.2
image: vitess/lite:v17.0.3
ports:
- "15100:$WEB_PORT"
- "$GRPC_PORT"
Expand Down Expand Up @@ -181,7 +181,7 @@ services:
retries: 15

vttablet101:
image: vitess/lite:v17.0.2
image: vitess/lite:v17.0.3
ports:
- "15101:$WEB_PORT"
- "$GRPC_PORT"
Expand Down Expand Up @@ -213,7 +213,7 @@ services:
retries: 15

vttablet102:
image: vitess/lite:v17.0.2
image: vitess/lite:v17.0.3
ports:
- "15102:$WEB_PORT"
- "$GRPC_PORT"
Expand Down Expand Up @@ -245,7 +245,7 @@ services:
retries: 15

vttablet103:
image: vitess/lite:v17.0.2
image: vitess/lite:v17.0.3
ports:
- "15103:$WEB_PORT"
- "$GRPC_PORT"
Expand Down Expand Up @@ -277,7 +277,7 @@ services:
retries: 15

vtorc:
image: vitess/lite:v17.0.2
image: vitess/lite:v17.0.3
command: ["sh", "-c", "/script/vtorc-up.sh"]
depends_on:
- vtctld
Expand Down Expand Up @@ -307,7 +307,7 @@ services:
retries: 15

vreplication:
image: vitess/lite:v17.0.2
image: vitess/lite:v17.0.3
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:v17.0.2
image: vitess/lite:v17.0.3
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:v17.0.2
image: vitess/lite:v17.0.3
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:v17.0.2
image: vitess/lite:v17.0.3
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:v17.0.2
image: vitess/lite:v17.0.3
volumes:
- .:/script
vtctld:
Expand All @@ -143,7 +143,7 @@ services:
depends_on:
external_db_host:
condition: service_healthy
image: vitess/lite:v17.0.2
image: vitess/lite:v17.0.3
ports:
- 15000:8080
- "15999"
Expand All @@ -160,7 +160,7 @@ services:
--normalize_queries=true '
depends_on:
- vtctld
image: vitess/lite:v17.0.2
image: vitess/lite:v17.0.3
ports:
- 15099:8080
- "15999"
Expand All @@ -182,7 +182,7 @@ services:
- EXTERNAL_DB=0
- DB_USER=
- DB_PASS=
image: vitess/lite:v17.0.2
image: vitess/lite:v17.0.3
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:v17.0.2
image: vitess/lite:v17.0.3
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:v17.0.2
image: vitess/lite:v17.0.3
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:v17.0.2
image: vitess/lite:v17.0.3
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:v17.0.2
image: vitess/lite:v17.0.3
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:v17.0.2
image: vitess/lite:v17.0.3
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:v17.0.2
image: vitess/lite:v17.0.3
ports:
- 15302:8080
- "15999"
Expand Down
Loading

0 comments on commit dced85d

Please sign in to comment.