Skip to content

Commit

Permalink
Copy release notes from release-18.0 into main
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
  • Loading branch information
frouioui committed Dec 21, 2023
1 parent fc921a6 commit 1893f37
Show file tree
Hide file tree
Showing 8 changed files with 630 additions and 467 deletions.
811 changes: 438 additions & 373 deletions changelog/18.0/18.0.0/changelog.md

Large diffs are not rendered by default.

198 changes: 111 additions & 87 deletions changelog/18.0/18.0.0/release_notes.md

Large diffs are not rendered by default.

16 changes: 9 additions & 7 deletions changelog/18.0/18.0.0/summary.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ There are 3 foreign key modes now supported in Vitess -
3. `disallow` -
In this mode Vitess explicitly disallows any DDL statements that try to create a foreign key constraint. This mode is equivalent to running VTGate with the flag `--foreign_key_mode=disallow`.

In addition to query support, there is a new flag to `MoveTables` called `--atomic-copy` which should be used to import data into Vitess from databases which have foreign keys defined in the schema.

#### Upgrade process

After upgrading from v17 to v18, users should specify the correct foreign key mode for all their keyspaces in the VSchema using the new property.
Expand Down Expand Up @@ -241,10 +243,10 @@ In v17, the `vtbackup` stat `DurationByPhase` stat was added to measure the time

`Phase` reports a 1 (active) or a 0 (inactive) for each of the following phases:

* `CatchupReplication`
* `InitialBackup`
* `RestoreLastBackup`
* `TakeNewBackup`
* `CatchupReplication`
* `InitialBackup`
* `RestoreLastBackup`
* `TakeNewBackup`

To calculate how long `vtbackup` has spent in a given phase, sum the 1-valued data points over time and multiply by the data collection or reporting interval. For example, in Prometheus:

Expand All @@ -255,9 +257,9 @@ sum_over_time(vtbackup_phase{phase="TakeNewBackup"}) * <interval>

`PhaseStatus` reports a 1 (active) or a 0 (inactive) for each of the following phases and statuses:

* `CatchupReplication` phase has statuses `Stalled` and `Stopped`.
* `Stalled` is set to `1` when replication stops advancing.
* `Stopped` is set to `1` when replication stops before `vtbackup` catches up with the primary.
* `CatchupReplication` phase has statuses `Stalled` and `Stopped`.
* `Stalled` is set to `1` when replication stops advancing.
* `Stopped` is set to `1` when replication stops before `vtbackup` catches up with the primary.

#### <a id="backup-restore-metrics-aws-s3"/>Backup and restore metrics for AWS S3

Expand Down
40 changes: 40 additions & 0 deletions changelog/18.0/18.0.1/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Changelog of Vitess v18.0.1

### Bug fixes
#### Backup and Restore
* [release 18.0]: `ReadBinlogFilesTimestamps` backwards compatibility [#14526](https://github.com/vitessio/vitess/pull/14526)
#### Build/CI
* [release-18.0] Update create_release.sh (#14492) [#14516](https://github.com/vitessio/vitess/pull/14516)
#### Evalengine
* [release-18.0] Fix nullability checks in evalengine (#14556) [#14564](https://github.com/vitessio/vitess/pull/14564)
#### Examples
* [release-18.0] examples: fix flag syntax for zkctl (#14469) [#14487](https://github.com/vitessio/vitess/pull/14487)
#### Observability
* [release-18.0] Fix #14414: resilient_server metrics name/prefix logic is inverted, leading to no metrics being recorded (#14415) [#14527](https://github.com/vitessio/vitess/pull/14527)
#### Query Serving
* [release-18.0] Make column resolution closer to MySQL (#14426) [#14430](https://github.com/vitessio/vitess/pull/14430)
* [release-18.0] Bug fix: Use target tablet from health stats cache when checking replication status (#14436) [#14456](https://github.com/vitessio/vitess/pull/14456)
* [release-18.0] Ensure hexval and int don't share BindVar after Normalization (#14451) [#14479](https://github.com/vitessio/vitess/pull/14479)
* [release-18.0] planbuilder bugfix: expose columns through derived tables (#14501) [#14504](https://github.com/vitessio/vitess/pull/14504)
* [release-18.0] expression rewriting: enable more rewrites and limit CNF rewrites (#14560) [#14576](https://github.com/vitessio/vitess/pull/14576)
#### vtctldclient
* [release-18.0] vtctldclient: Apply tablet type filtering for keyspace+shard in GetTablets (#14467) [#14470](https://github.com/vitessio/vitess/pull/14470)
### CI/Build
#### Docker
* [release-18.0] Build and push Docker Images from GitHub Actions [#14511](https://github.com/vitessio/vitess/pull/14511)
### Dependabot
#### General
* [release-18.0] Bump google.golang.org/grpc from 1.55.0-dev to 1.59.0 (#14364) [#14498](https://github.com/vitessio/vitess/pull/14498)
### Documentation
#### Documentation
* [release-18.0] release notes: add FK import to summary (#14518) [#14519](https://github.com/vitessio/vitess/pull/14519)
### Internal Cleanup
#### Query Serving
* [release-18.0] Remove excessive VTGate logging of default planner selection (#14554) [#14561](https://github.com/vitessio/vitess/pull/14561)
### Release
#### General
* [release-18.0] Code Freeze for `v18.0.1` [#14549](https://github.com/vitessio/vitess/pull/14549)
### Testing
#### Query Serving
* [release-18.0] vtgate: Allow additional errors in warnings test (#14461) [#14465](https://github.com/vitessio/vitess/pull/14465)

7 changes: 7 additions & 0 deletions changelog/18.0/18.0.1/release_notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Release of Vitess v18.0.1
The entire changelog for this release can be found [here](https://github.com/vitessio/vitess/blob/main/changelog/18.0/18.0.1/changelog.md).

The release includes 17 merged Pull Requests.

Thanks to all our contributors: @app/vitess-bot, @frouioui, @harshit-gangal, @shlomi-noach

14 changes: 14 additions & 0 deletions changelog/18.0/18.0.2/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Changelog of Vitess v18.0.2

### Other
#### Other
* Revert "[release-18.0] Release of `v18.0.2`" [#205](https://github.com/frouioui/vitess/pull/205)
* Revert "[release-18.0] Release of `v18.0.2`" [#207](https://github.com/frouioui/vitess/pull/207)
* Revert "[release-18.0] Release of `v18.0.2` (#208)" [#209](https://github.com/frouioui/vitess/pull/209)
### Release
#### General
* [release-18.0] Code Freeze for `v18.0.2` [#203](https://github.com/frouioui/vitess/pull/203)
* [release-18.0] Release of `v18.0.2` [#204](https://github.com/frouioui/vitess/pull/204)
* [release-18.0] Release of `v18.0.2` [#206](https://github.com/frouioui/vitess/pull/206)
* [release-18.0] Release of `v18.0.2` [#208](https://github.com/frouioui/vitess/pull/208)

7 changes: 7 additions & 0 deletions changelog/18.0/18.0.2/release_notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Release of Vitess v18.0.2
The entire changelog for this release can be found [here](https://github.com/frouioui/vitess/blob/main/changelog/18.0/18.0.2/changelog.md).

The release includes 7 merged Pull Requests.

Thanks to all our contributors: @frouioui

4 changes: 4 additions & 0 deletions changelog/18.0/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## v18.0
* **[18.0.1](18.0.1)**
* [Changelog](18.0.1/changelog.md)
* [Release Notes](18.0.1/release_notes.md)

* **[18.0.0](18.0.0)**
* [Changelog](18.0.0/changelog.md)
* [Release Notes](18.0.0/release_notes.md)

0 comments on commit 1893f37

Please sign in to comment.