Merge pull request #11961 from planetscale/release-15.0-tag-1

Release of v15.0.2
This commit is contained in:
Florent Poinsard 2023-01-11 11:32:23 +01:00 коммит произвёл GitHub
Родитель 362213494c 7e6e2cf028
Коммит 09e6a8e817
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
19 изменённых файлов: 125 добавлений и 78 удалений

Просмотреть файл

@ -0,0 +1,27 @@
# Changelog of Vitess v15.0.2
### Bug fixes
#### Query Serving
* Online DDL: fix 'vtctlclient OnlineDDL' template queries [#11889](https://github.com/vitessio/vitess/pull/11889)
* Fix CheckMySQL by setting the correct wanted state [#11895](https://github.com/vitessio/vitess/pull/11895)
* bugfix: allow predicates without dependencies with derived tables to be handled correctly [#11911](https://github.com/vitessio/vitess/pull/11911)
* [release-15.0] Fix sending a ServerLost error when reading a packet fails (#11920) [#11930](https://github.com/vitessio/vitess/pull/11930)
* Skip `TestSubqueriesExists` during upgrade-downgrade tests [#11953](https://github.com/vitessio/vitess/pull/11953)
#### VReplication
* VReplication: Prevent Orphaned VDiff2 Jobs [#11768](https://github.com/vitessio/vitess/pull/11768)
### CI/Build
#### Build/CI
* Fix deprecated usage of set-output [#11844](https://github.com/vitessio/vitess/pull/11844)
* Use `go1.19.4` in the next release upgrade downgrade E2E tests [#11924](https://github.com/vitessio/vitess/pull/11924)
#### TabletManager
* Fix closing the body for HTTP requests [#11842](https://github.com/vitessio/vitess/pull/11842)
### Enhancement
#### General
* Upgrade to `go1.18.9` [#11897](https://github.com/vitessio/vitess/pull/11897)
### Release
#### General
* Release of v15.0.1 [#11847](https://github.com/vitessio/vitess/pull/11847)
* Back to dev mode after v15.0.1 [#11848](https://github.com/vitessio/vitess/pull/11848)
* updating summary and release notes for v15.0.1 [#11852](https://github.com/vitessio/vitess/pull/11852)
* Update the release `15.0.2` summary doc [#11954](https://github.com/vitessio/vitess/pull/11954)

Просмотреть файл

@ -0,0 +1,20 @@
# Release of Vitess v15.0.2
## Major Changes
### Upgrade to `go1.18.9`
Vitess `v15.0.2` now runs on `go1.18.9`.
The patch release of Go, `go1.18.9`, was one of the main reasons for this release as it includes an important security fixe to `net/http` package, which is use extensively by Vitess.
Below is a summary of this patch release. You can learn more [here](https://groups.google.com/g/golang-announce/c/L_3rmdT0BMU).
> go1.18.9 (released 2022-12-06) includes security fixes to the net/http and os packages, as well as bug fixes to cgo, the compiler, the runtime, and the crypto/x509 and os/exec packages.
------------
The entire changelog for this release can be found [here](https://github.com/vitessio/vitess/blob/main/doc/releasenotes/15_0_2_changelog.md).
The release includes 14 commits (excluding merges)
Thanks to all our contributors: @GuptaManan100, @dbussink, @frouioui, @mattlord, @rsajwani, @shlomi-noach, @vitess-bot[bot]

Просмотреть файл

@ -3,7 +3,7 @@
### Upgrade to `go1.18.9`
Vitess `v15.0.2` now runs on `go1.18.9`.
The patch release of Go, `go1.18.9`, was one of the main reasons for this release as it includes an important security fixe to `net/http` package, which is use extensively by Vitess.
The patch release of Go, `go1.18.9`, was one of the main reasons for this release as it includes an important security fix to `net/http` package, which is used extensively by Vitess.
Below is a summary of this patch release. You can learn more [here](https://groups.google.com/g/golang-announce/c/L_3rmdT0BMU).
> go1.18.9 (released 2022-12-06) includes security fixes to the net/http and os packages, as well as bug fixes to cgo, the compiler, the runtime, and the crypto/x509 and os/exec packages.

Просмотреть файл

@ -1,7 +1,7 @@
#!/bin/bash
set -ex
vt_base_version='15.0.2-SNAPSHOT'
vt_base_version='15.0.2'
debian_versions='buster bullseye'
default_debian_version='bullseye'

Просмотреть файл

@ -58,7 +58,7 @@ services:
- "3306"
vtctld:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- "15000:$WEB_PORT"
- "$GRPC_PORT"
@ -83,7 +83,7 @@ services:
condition: service_healthy
vtgate:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- "15099:$WEB_PORT"
- "$GRPC_PORT"
@ -113,7 +113,7 @@ services:
condition: service_healthy
schemaload:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
command:
- sh
- -c
@ -146,12 +146,12 @@ services:
environment:
- KEYSPACES=$KEYSPACE
- GRPC_PORT=15999
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
volumes:
- .:/script
vttablet100:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- "15100:$WEB_PORT"
- "$GRPC_PORT"
@ -183,7 +183,7 @@ services:
retries: 15
vttablet101:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- "15101:$WEB_PORT"
- "$GRPC_PORT"
@ -215,7 +215,7 @@ services:
retries: 15
vttablet102:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- "15102:$WEB_PORT"
- "$GRPC_PORT"
@ -247,7 +247,7 @@ services:
retries: 15
vttablet103:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- "15103:$WEB_PORT"
- "$GRPC_PORT"
@ -279,7 +279,7 @@ services:
retries: 15
vtorc:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
command: ["sh", "-c", "/script/vtorc-up.sh"]
depends_on:
- vtctld
@ -309,7 +309,7 @@ services:
retries: 15
vreplication:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
volumes:
- ".:/script"
environment:

Просмотреть файл

@ -75,7 +75,7 @@ services:
- SCHEMA_FILES=lookup_keyspace_schema_file.sql
- POST_LOAD_FILE=
- EXTERNAL_DB=0
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
volumes:
- .:/script
schemaload_test_keyspace:
@ -101,7 +101,7 @@ services:
- SCHEMA_FILES=test_keyspace_schema_file.sql
- POST_LOAD_FILE=
- EXTERNAL_DB=0
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
volumes:
- .:/script
set_keyspace_durability_policy:
@ -115,7 +115,7 @@ services:
environment:
- KEYSPACES=test_keyspace lookup_keyspace
- GRPC_PORT=15999
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
volumes:
- .:/script
vreplication:
@ -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:v15.0.1
image: vitess/lite:v15.0.2
volumes:
- .:/script
vtctld:
@ -143,7 +143,7 @@ services:
depends_on:
external_db_host:
condition: service_healthy
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 15000:8080
- "15999"
@ -160,7 +160,7 @@ services:
--normalize_queries=true '
depends_on:
- vtctld
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 15099:8080
- "15999"
@ -182,7 +182,7 @@ services:
- EXTERNAL_DB=0
- DB_USER=
- DB_PASS=
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 13000:8080
volumes:
@ -217,7 +217,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 15101:8080
- "15999"
@ -254,7 +254,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 15102:8080
- "15999"
@ -291,7 +291,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 15201:8080
- "15999"
@ -328,7 +328,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 15202:8080
- "15999"
@ -365,7 +365,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 15301:8080
- "15999"
@ -402,7 +402,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 15302:8080
- "15999"

Просмотреть файл

@ -79,7 +79,7 @@ services:
- SCHEMA_FILES=test_keyspace_schema_file.sql
- POST_LOAD_FILE=
- EXTERNAL_DB=0
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
volumes:
- .:/script
schemaload_unsharded_keyspace:
@ -103,7 +103,7 @@ services:
- SCHEMA_FILES=unsharded_keyspace_schema_file.sql
- POST_LOAD_FILE=
- EXTERNAL_DB=0
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
volumes:
- .:/script
set_keyspace_durability_policy_test_keyspace:
@ -117,7 +117,7 @@ services:
environment:
- GRPC_PORT=15999
- KEYSPACES=test_keyspace
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
volumes:
- .:/script
set_keyspace_durability_policy_unsharded_keyspace:
@ -130,7 +130,7 @@ services:
environment:
- GRPC_PORT=15999
- KEYSPACES=unsharded_keyspace
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
volumes:
- .:/script
vreplication:
@ -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:v15.0.1
image: vitess/lite:v15.0.2
volumes:
- .:/script
vtctld:
@ -159,7 +159,7 @@ services:
depends_on:
external_db_host:
condition: service_healthy
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 15000:8080
- "15999"
@ -176,7 +176,7 @@ services:
''grpc-vtgateservice'' --normalize_queries=true '
depends_on:
- vtctld
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 15099:8080
- "15999"
@ -199,7 +199,7 @@ services:
- EXTERNAL_DB=0
- DB_USER=
- DB_PASS=
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 13000:8080
volumes:
@ -234,7 +234,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 15101:8080
- "15999"
@ -271,7 +271,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 15102:8080
- "15999"
@ -308,7 +308,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 15201:8080
- "15999"
@ -345,7 +345,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 15202:8080
- "15999"
@ -382,7 +382,7 @@ services:
- CMD-SHELL
- curl -s --fail --show-error localhost:8080/debug/health
timeout: 10s
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- 15301:8080
- "15999"

Просмотреть файл

@ -533,7 +533,7 @@ func generateDefaultShard(tabAlias int, shard string, keyspaceData keyspaceInfo,
- op: add
path: /services/init_shard_primary%[2]d
value:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
command: ["sh", "-c", "/vt/bin/vtctlclient %[5]s InitShardPrimary -force %[4]s/%[3]s %[6]s-%[2]d "]
%[1]s
`, dependsOn, aliases[0], shard, keyspaceData.keyspace, opts.topologyFlags, opts.cell)
@ -565,7 +565,7 @@ func generateExternalPrimary(
- op: add
path: /services/vttablet%[1]d
value:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- "15%[1]d:%[3]d"
- "%[4]d"
@ -627,7 +627,7 @@ func generateDefaultTablet(tabAlias int, shard, role, keyspace string, dbInfo ex
- op: add
path: /services/vttablet%[1]d
value:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- "15%[1]d:%[4]d"
- "%[5]d"
@ -665,7 +665,7 @@ func generateVtctld(opts vtOptions) string {
- op: add
path: /services/vtctld
value:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- "15000:%[1]d"
- "%[2]d"
@ -698,7 +698,7 @@ func generateVtgate(opts vtOptions) string {
- op: add
path: /services/vtgate
value:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
ports:
- "15099:%[1]d"
- "%[2]d"
@ -740,7 +740,7 @@ func generateVTOrc(dbInfo externalDbInfo, keyspaceInfoMap map[string]keyspaceInf
- op: add
path: /services/vtorc
value:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
volumes:
- ".:/script"
environment:
@ -765,7 +765,7 @@ func generateVreplication(dbInfo externalDbInfo, opts vtOptions) string {
- op: add
path: /services/vreplication
value:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
volumes:
- ".:/script"
environment:
@ -793,7 +793,7 @@ func generateSetKeyspaceDurabilityPolicy(
- op: add
path: /services/set_keyspace_durability_policy_%[3]s
value:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
volumes:
- ".:/script"
environment:
@ -830,7 +830,7 @@ func generateSchemaload(
- op: add
path: /services/schemaload_%[7]s
value:
image: vitess/lite:v15.0.1
image: vitess/lite:v15.0.2
volumes:
- ".:/script"
environment:

Просмотреть файл

@ -8,14 +8,14 @@ metadata:
name: example
spec:
images:
vtctld: vitess/lite:v15.0.1
vtctld: vitess/lite:v15.0.2
vtadmin: vitess/vtadmin:v15.0.0-rc1
vtgate: vitess/lite:v15.0.1
vttablet: vitess/lite:v15.0.1
vtbackup: vitess/lite:v15.0.1
vtorc: vitess/lite:v15.0.1
vtgate: vitess/lite:v15.0.2
vttablet: vitess/lite:v15.0.2
vtbackup: vitess/lite:v15.0.2
vtorc: vitess/lite:v15.0.2
mysqld:
mysql56Compatible: vitess/lite:v15.0.1
mysql56Compatible: vitess/lite:v15.0.2
mysqldExporter: prom/mysqld-exporter:v0.11.0
cells:
- name: zone1

Просмотреть файл

@ -4,14 +4,14 @@ metadata:
name: example
spec:
images:
vtctld: vitess/lite:v15.0.1
vtctld: vitess/lite:v15.0.2
vtadmin: vitess/vtadmin:v15.0.0-rc1
vtgate: vitess/lite:v15.0.1
vttablet: vitess/lite:v15.0.1
vtbackup: vitess/lite:v15.0.1
vtorc: vitess/lite:v15.0.1
vtgate: vitess/lite:v15.0.2
vttablet: vitess/lite:v15.0.2
vtbackup: vitess/lite:v15.0.2
vtorc: vitess/lite:v15.0.2
mysqld:
mysql56Compatible: vitess/lite:v15.0.1
mysql56Compatible: vitess/lite:v15.0.2
mysqldExporter: prom/mysqld-exporter:v0.11.0
cells:
- name: zone1

Просмотреть файл

@ -4,14 +4,14 @@ metadata:
name: example
spec:
images:
vtctld: vitess/lite:v15.0.1
vtctld: vitess/lite:v15.0.2
vtadmin: vitess/vtadmin:v15.0.0-rc1
vtgate: vitess/lite:v15.0.1
vttablet: vitess/lite:v15.0.1
vtbackup: vitess/lite:v15.0.1
vtorc: vitess/lite:v15.0.1
vtgate: vitess/lite:v15.0.2
vttablet: vitess/lite:v15.0.2
vtbackup: vitess/lite:v15.0.2
vtorc: vitess/lite:v15.0.2
mysqld:
mysql56Compatible: vitess/lite:v15.0.1
mysql56Compatible: vitess/lite:v15.0.2
mysqldExporter: prom/mysqld-exporter:v0.11.0
cells:
- name: zone1

Просмотреть файл

@ -4,14 +4,14 @@ metadata:
name: example
spec:
images:
vtctld: vitess/lite:v15.0.1
vtctld: vitess/lite:v15.0.2
vtadmin: vitess/vtadmin:v15.0.0-rc1
vtgate: vitess/lite:v15.0.1
vttablet: vitess/lite:v15.0.1
vtbackup: vitess/lite:v15.0.1
vtorc: vitess/lite:v15.0.1
vtgate: vitess/lite:v15.0.2
vttablet: vitess/lite:v15.0.2
vtbackup: vitess/lite:v15.0.2
vtorc: vitess/lite:v15.0.2
mysqld:
mysql56Compatible: vitess/lite:v15.0.1
mysql56Compatible: vitess/lite:v15.0.2
mysqldExporter: prom/mysqld-exporter:v0.11.0
cells:
- name: zone1

Просмотреть файл

@ -5615,7 +5615,7 @@ spec:
fieldPath: metadata.name
- name: OPERATOR_NAME
value: vitess-operator
image: planetscale/vitess-operator:v2.8.1
image: planetscale/vitess-operator:v2.8.2
name: vitess-operator
resources:
limits:

Просмотреть файл

@ -19,4 +19,4 @@ package servenv
// THIS FILE IS AUTO-GENERATED DURING NEW RELEASES BY ./tools/do_releases.sh
// DO NOT EDIT
const versionName = "15.0.2-SNAPSHOT"
const versionName = "15.0.2"

Просмотреть файл

@ -5,7 +5,7 @@
<parent>
<groupId>io.vitess</groupId>
<artifactId>vitess-parent</artifactId>
<version>15.0.2-SNAPSHOT</version>
<version>15.0.2</version>
</parent>
<artifactId>vitess-client</artifactId>

Просмотреть файл

@ -5,7 +5,7 @@
<parent>
<groupId>io.vitess</groupId>
<artifactId>vitess-parent</artifactId>
<version>15.0.2-SNAPSHOT</version>
<version>15.0.2</version>
</parent>
<artifactId>vitess-example</artifactId>

Просмотреть файл

@ -5,7 +5,7 @@
<parent>
<groupId>io.vitess</groupId>
<artifactId>vitess-parent</artifactId>
<version>15.0.2-SNAPSHOT</version>
<version>15.0.2</version>
</parent>
<artifactId>vitess-grpc-client</artifactId>

Просмотреть файл

@ -5,7 +5,7 @@
<parent>
<groupId>io.vitess</groupId>
<artifactId>vitess-parent</artifactId>
<version>15.0.2-SNAPSHOT</version>
<version>15.0.2</version>
</parent>
<artifactId>vitess-jdbc</artifactId>

Просмотреть файл

@ -11,7 +11,7 @@
<groupId>io.vitess</groupId>
<artifactId>vitess-parent</artifactId>
<version>15.0.2-SNAPSHOT</version>
<version>15.0.2</version>
<packaging>pom</packaging>
<name>Vitess Java Client libraries [Parent]</name>