Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
9c59a5d
Bump to `v23.0.0-SNAPSHOT` after the `v22.0.0-RC1` release (#18088)
frouioui Apr 1, 2025
7736d86
Add release-22.0 to the golang upgrade workflow (#18089)
frouioui Apr 2, 2025
f37393e
[vttablet] Emit Constant “userLabelDisabled” When skip-user-metrics i…
harshit-gangal Apr 3, 2025
a5ff017
[main] Upgrade the Golang version to `go1.24.2` (#18093)
vitess-bot Apr 3, 2025
ffac142
Add Deferred Optimization Execution Metric (#18067)
harshit-gangal Apr 3, 2025
c13f773
bugfix: allow window functions when possible to push down (#18103)
systay Apr 3, 2025
3aa689a
test: start mysqld on a random directory (#18096)
systay Apr 3, 2025
4eb164e
Fix golang-ci lint file to allow a version without preceding `v` (#18…
GuptaManan100 Apr 3, 2025
9e66c21
Add code to clear orphaned files for a deleted keyspace (#18098)
GuptaManan100 Apr 4, 2025
8ee1f29
Fix deadlock in `ValidateKeyspace` (#18114)
GuptaManan100 Apr 4, 2025
6b88ff2
VStream API: Reset stopPos in catchup (#18119)
beingnoble03 Apr 6, 2025
cf5f913
Switch to using the default caching sha2 password (#18010)
dbussink Apr 7, 2025
282022b
[main] Copy `v22.0.0-RC1` release notes (#18133)
frouioui Apr 8, 2025
f36c872
Add a new implementation for handling multiple queries without needin…
GuptaManan100 Apr 9, 2025
567c0dd
Fix parsing to allow `VALUE` in insert and replace statements (#18116)
GuptaManan100 Apr 9, 2025
0bf2eb1
VStream API: add additional log lines for debugging frequent eof erro…
beingnoble03 Apr 9, 2025
3b4d89f
[main] Copy `v21.0.4` release notes (#18144)
frouioui Apr 9, 2025
b9fbe52
[main] Copy `v20.0.7` release notes (#18146)
frouioui Apr 9, 2025
2c92e85
feat: support prepare even on plan failure to generate optimized plan…
harshit-gangal Apr 10, 2025
6cc7223
Fix: Add tablet type to the plan key (#18155)
GuptaManan100 Apr 10, 2025
0df4e52
Add summary note change for unsharded `create procedure` support (#18…
GuptaManan100 Apr 10, 2025
be66736
Fix split statement for create procedure to account for definers (#18…
GuptaManan100 Apr 10, 2025
d2a4a4b
bugfix: INSERT IGNORE not inserting rows (#18151)
systay Apr 11, 2025
9e734f8
Remove deprecated methods and metrics (#18149)
harshit-gangal Apr 11, 2025
9a8dbe0
[main] Copy `v22.0.0-RC2` release notes (#18169)
vitess-bot Apr 11, 2025
a8c0d32
Use transaction_isolation vs tx_isolation (#17845)
corbantek Apr 18, 2025
673e0d3
Bump golang.org/x/net from 0.37.0 to 0.38.0 (#18177)
dependabot[bot] Apr 22, 2025
e6aaec0
copy edit release notes to prepare for v22 GA (#18186)
deepthi Apr 22, 2025
3a33fdd
Add TMC RPCs for updating sequences for `switchwrites` (#18172)
beingnoble03 Apr 24, 2025
4399cbc
Change test compatibility (#18201)
dbussink Apr 24, 2025
8dbe553
[main] Copy `v22.0.0-RC3` release notes (#18205)
vitess-bot Apr 24, 2025
f0e9a2d
VReplication: Add reference-tables to existing materialize workflow (…
beingnoble03 Apr 24, 2025
68242a6
LookupVindex: Multiple lookup tables support for `LookupVindexCreate`…
beingnoble03 Apr 24, 2025
5601849
fix: Preserve multi-column TupleExpr in tuple simplifier (#18216)
harshit-gangal Apr 28, 2025
03a9bfe
Query buffering, terminating blocking transactions for `INSTANT` DDL …
shlomi-noach Apr 28, 2025
1bbbcda
Online DDL: support `alter vitess_migration ... postpone complete` sy…
shlomi-noach Apr 29, 2025
d36d183
[main] Copy `v22.0.0` release notes (#18224)
vitess-bot Apr 29, 2025
b3d80b2
Properly handle grpc dial errors in the throttler metric aggregation …
arthurschreiber Apr 30, 2025
6c597f6
go/vt/discovery: configurable logger (#17846)
maxenglander May 5, 2025
421aca0
Recover panic in vcopier due to closed channel (#18228)
beingnoble03 May 5, 2025
d0176be
make sure to give MEMBER OF the correct precedence (#18237)
systay May 7, 2025
e9a6589
test: TestQueryTimeoutWithShardTargeting fix flaky test (#18242)
harshit-gangal May 7, 2025
516b854
Upgrade the Golang Dependencies (#18082)
vitess-bot May 7, 2025
15c4e28
Fix evalengine crashes on unexpected types (#18254)
dbussink May 9, 2025
d849b9f
Fix subquery merging regression introduced in #11379 (#18260)
systay May 9, 2025
c3daef3
VStream: Add flag to support copying only specific tables (#18184)
beingnoble03 May 18, 2025
0e0f4da
[main] Upgrade the Golang version to `go1.24.3` (#18241)
vitess-bot May 20, 2025
55564ca
json array insert test (#18284)
harshit-gangal May 21, 2025
8665230
Merge flags-refactor branch to main (#18280)
mounicasruthi May 22, 2025
9f6b874
Upgrade the Golang Dependencies (#18266)
vitess-bot May 22, 2025
fcfa0c8
Fix deadlock in semi-sync monitor (#18276)
GuptaManan100 May 22, 2025
b42c0df
Fix `SET` and `START TRANSACTION` in create procedure statements (#18…
GuptaManan100 May 22, 2025
1140923
Add TransactionsProcessed metric to track transactions at VTGate (#18…
harshit-gangal May 22, 2025
f8d08a3
Fix flakey vstream metrics test (#18287)
twthorn May 25, 2025
3aef1b4
Fix flaky test by being more permissive with the error message in `Te…
GuptaManan100 May 26, 2025
5290b86
Improve `UNION` query merging (#18289)
arthurschreiber May 26, 2025
330cf3a
Flags Refactor - Part 5 (#18296)
mounicasruthi May 27, 2025
0344d8e
Refactor `vtctld` flags to follow standard naming convention (#18294)
mounicasruthi May 27, 2025
fc93d4f
Refactor `vtcombo` flags - Part 1 (#18291)
mounicasruthi May 28, 2025
cec7812
Refactor `vtcombo` flags - Part 2 (#18297)
mounicasruthi May 28, 2025
dedea93
Refactor `vtcombo` flags - Part 3 (#18298)
mounicasruthi May 30, 2025
91acd72
Vtorc: Recheck primary health before attempting a failure mitigation …
bantyK Jun 2, 2025
aea03ed
Add a flag to vstream to exclude keyspace from table name (#18274)
twthorn Jun 2, 2025
8d659aa
Atomic Copy: Handle error that was ignored while streaming tables and…
rohit-nayak-ps Jun 2, 2025
b111270
flaky test fix TestTrackerNoLock and TestCreateLookupVindexMultipleCr…
harshit-gangal Jun 3, 2025
5ebc32f
Throttler: keep watching topo even on error (#18223)
shlomi-noach Jun 4, 2025
c2154bb
Change vtgate init order in the cluster init test
tanjinx Jun 5, 2025
a3df89e
add the vtgate change
tanjinx Jun 5, 2025
fa5f1cc
lower timeout to fail test quicker
sbaker617 Jun 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/workflows/update_golang_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
pull-requests: write
strategy:
matrix:
branch: [ main, release-21.0, release-20.0 ]
branch: [ main, release-22.0, release-21.0, release-20.0 ]
name: Update Golang Version
runs-on: ubuntu-24.04
steps:
Expand All @@ -37,9 +37,9 @@ jobs:
old_go_version=$(go run ./go/tools/go-upgrade/go-upgrade.go get go-version)
echo "old-go-version=${old_go_version}" >> $GITHUB_OUTPUT

if [ "${{ matrix.branch }}" == "main" ]; then
if [[ "${{ matrix.branch }}" == "main" ]]; then
go run ./go/tools/go-upgrade/go-upgrade.go upgrade --main --allow-major-upgrade
elif [ "${{ matrix.branch }}" == "release-21.0" ]; then
elif [[ ("${{ matrix.branch }}" == "release-21.0") || ("${{ matrix.branch }}" == "release-22.0") ]]; then
go run ./go/tools/go-upgrade/go-upgrade.go upgrade
else
go run ./go/tools/go-upgrade/go-upgrade.go upgrade --workflow-update=false
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,4 @@ report
# mise files
.mise.toml
/errors/
go/flags/endtoend/count_flags.sh
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ $(PROTO_GO_OUTS): minimaltools install_protoc-gen-go proto/*.proto
# This rule builds the bootstrap images for all flavors.
DOCKER_IMAGES_FOR_TEST = mysql80 mysql84 percona80
DOCKER_IMAGES = common $(DOCKER_IMAGES_FOR_TEST)
BOOTSTRAP_VERSION=43
BOOTSTRAP_VERSION=45
ensure_bootstrap_version:
find docker/ -type f -exec sed -i "s/^\(ARG bootstrap_version\)=.*/\1=${BOOTSTRAP_VERSION}/" {} \;
sed -i 's/\(^.*flag.String(\"bootstrap-version\",\) *\"[^\"]\+\"/\1 \"${BOOTSTRAP_VERSION}\"/' test.go
Expand Down
2 changes: 1 addition & 1 deletion build.env
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
source ./tools/shell_functions.inc

go version >/dev/null 2>&1 || fail "Go is not installed or is not in \$PATH. See https://vitess.io/contributing/build-from-source for install instructions."
goversion_min 1.24.1 || echo "Go version reported: `go version`. Version 1.24.1+ recommended. See https://vitess.io/contributing/build-from-source for install instructions."
goversion_min 1.24.3 || echo "Go version reported: `go version`. Version 1.24.3+ recommended. See https://vitess.io/contributing/build-from-source for install instructions."

mkdir -p dist
mkdir -p bin
Expand Down
51 changes: 51 additions & 0 deletions changelog/20.0/20.0.7/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# Changelog of Vitess v20.0.7

### Bug fixes
#### Backup and Restore
* [release-20.0] Fix tablet selection in `vtctld BackupShard` (#18002) [#18024](https://github.com/vitessio/vitess/pull/18024)
* Fix backup shard copy paste error [#18099](https://github.com/vitessio/vitess/pull/18099)
#### Cluster management
* [release-20.0] ValidateKeyspace: Add check for no shards (#18055) [#18062](https://github.com/vitessio/vitess/pull/18062)
#### Evalengine
* [release-20.0] Implement temporal comparisons (#17826) [#17853](https://github.com/vitessio/vitess/pull/17853)
#### Query Serving
* backport: support subqueries inside subqueries when merging (Release 20.0) [#17810](https://github.com/vitessio/vitess/pull/17810)
* [release-20.0] evalengine: normalize types during compilation (#17887) [#17895](https://github.com/vitessio/vitess/pull/17895)
* [release-20.0] Fix DISTINCT on ENUM/SET columns by making enums/set hashable (#17936) [#17990](https://github.com/vitessio/vitess/pull/17990)
* [release-20.0] Set proper join vars type for the RHS field query in OLAP (#18028) [#18037](https://github.com/vitessio/vitess/pull/18037)
* [release-20.0] Bugfix: Missing data when running vtgate outer joins (#18036) [#18043](https://github.com/vitessio/vitess/pull/18043)
* [release-20.0] bugfix: allow window functions when possible to push down (#18103) [#18104](https://github.com/vitessio/vitess/pull/18104)
#### VReplication
* [release-20.0] VReplication Atomic Copy Workflows: fix bugs around concurrent inserts (#17772) [#17792](https://github.com/vitessio/vitess/pull/17792)
* [release-20.0] Multi-tenant workflow SwitchWrites: Don't add denied tables on cancelMigration() (#17782) [#17796](https://github.com/vitessio/vitess/pull/17796)
* [release-20.0] VDiff: Fix logic for reconciling extra rows (#17950) [#18071](https://github.com/vitessio/vitess/pull/18071)
* [release-20.0] VStream API: Reset stopPos in catchup (#18119) [#18121](https://github.com/vitessio/vitess/pull/18121)
#### VTTablet
* [release-20.0] fix: race on storing schema engine last changed time (#17914) [#17916](https://github.com/vitessio/vitess/pull/17916)
#### vtctldclient
* [release-20.0] Filter out tablets with unknown replication lag when electing a new primary (#18004) [#18074](https://github.com/vitessio/vitess/pull/18074)
* [release-20.0] Fix `Reshard Cancel` behavior (#18020) [#18079](https://github.com/vitessio/vitess/pull/18079)
### CI/Build
#### General
* [release-20.0] Upgrade the Golang version to `go1.22.12` [#17702](https://github.com/vitessio/vitess/pull/17702)
### Performance
#### Performance
* [release-20.0] smartconnpool: Better handling for idle expiration (#17757) [#17780](https://github.com/vitessio/vitess/pull/17780)
#### Query Serving
* [release-20.0] pool: reopen connection closed by idle timeout (#17818) [#17830](https://github.com/vitessio/vitess/pull/17830)
* [release-20.0] Fix: Separate Lock for Keyspace to Update Controller Mapping in Schema Tracking (#17873) [#17884](https://github.com/vitessio/vitess/pull/17884)
### Regression
#### Query Serving
* [release-20.0] Fix a potential connection pool leak. (#17807) [#17813](https://github.com/vitessio/vitess/pull/17813)
#### VTTablet
* [release-20.0] fix: App and Dba Pool metrics (#18048) [#18083](https://github.com/vitessio/vitess/pull/18083)
### Release
#### General
* [release-20.0] Bump to `v20.0.7-SNAPSHOT` after the `v20.0.6` release [#17768](https://github.com/vitessio/vitess/pull/17768)
### Testing
#### Build/CI
* [release-20.0] Use release branches for upgrade downgrade tests (#18029) [#18034](https://github.com/vitessio/vitess/pull/18034)
#### Query Serving
* [release-20.0] [release-21.0] DML test fix for duplicate column value (#17980) [#17987](https://github.com/vitessio/vitess/pull/17987)
* [release-20.0] Test: Increase query timeout to fix flaky test 'TestQueryTimeoutWithShardTargeting' (#18016) [#18039](https://github.com/vitessio/vitess/pull/18039)

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

The release includes 27 merged Pull Requests.

Thanks to all our contributors: @app/vitess-bot, @dbussink, @harshit-gangal, @systay, @vitess-bot

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

* **[20.0.6](20.0.6)**
* [Changelog](20.0.6/changelog.md)
* [Release Notes](20.0.6/release_notes.md)
Expand Down
62 changes: 62 additions & 0 deletions changelog/21.0/21.0.4/changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# Changelog of Vitess v21.0.4

### Bug fixes
#### Backup and Restore
* [release-21.0] Fix tablet selection in `vtctld BackupShard` (#18002) [#18025](https://github.com/vitessio/vitess/pull/18025)
* Fix backup shard copy paste error [#18100](https://github.com/vitessio/vitess/pull/18100)
#### Evalengine
* [release-21.0] Implement temporal comparisons (#17826) [#17854](https://github.com/vitessio/vitess/pull/17854)
#### Query Serving
* [release-21.0] Fail assignment expressions with the correct message (#17752) [#17776](https://github.com/vitessio/vitess/pull/17776)
* backport: support subqueries inside subqueries when merging (Release 21.0) [#17811](https://github.com/vitessio/vitess/pull/17811)
* [release-21.0] evalengine: normalize types during compilation (#17887) [#17896](https://github.com/vitessio/vitess/pull/17896)
* [release-21.0] Fix DISTINCT on ENUM/SET columns by making enums/set hashable (#17936) [#17991](https://github.com/vitessio/vitess/pull/17991)
* [release-21.0] go/vt/vtgate: take routing rules into account for traffic mirroring (#17953) [#17994](https://github.com/vitessio/vitess/pull/17994)
* [release-21.0] Set proper join vars type for the RHS field query in OLAP (#18028) [#18038](https://github.com/vitessio/vitess/pull/18038)
* [release-21.0] Bugfix: Missing data when running vtgate outer joins (#18036) [#18044](https://github.com/vitessio/vitess/pull/18044)
* [release-21.0] Fix: Ensure Consistent Lookup Vindex Handles Duplicate Rows in Single Query (#17974) [#18078](https://github.com/vitessio/vitess/pull/18078)
* [release-21.0] bugfix: allow window functions when possible to push down (#18103) [#18105](https://github.com/vitessio/vitess/pull/18105)
#### VReplication
* [release-21.0] VReplication Atomic Copy Workflows: fix bugs around concurrent inserts (#17772) [#17793](https://github.com/vitessio/vitess/pull/17793)
* [release-21.0] Multi-tenant workflow SwitchWrites: Don't add denied tables on cancelMigration() (#17782) [#17797](https://github.com/vitessio/vitess/pull/17797)
* [release-21.0] VDiff: Fix logic for reconciling extra rows (#17950) [#18072](https://github.com/vitessio/vitess/pull/18072)
* [release-21.0] VStream API: Reset stopPos in catchup (#18119) [#18122](https://github.com/vitessio/vitess/pull/18122)
#### VTAdmin
* [release-21.0] [VTAdmin] Insert into schema cache if exists already and not expired (#17908) [#17924](https://github.com/vitessio/vitess/pull/17924)
#### VTCombo
* [release-21.0] Fix vtcombo parsing flags incorrectly (#17743) [#17820](https://github.com/vitessio/vitess/pull/17820)
#### VTTablet
* [release-21.0] fix: race on storing schema engine last changed time (#17914) [#17917](https://github.com/vitessio/vitess/pull/17917)
#### vtctldclient
* [release-21.0] Filter out tablets with unknown replication lag when electing a new primary (#18004) [#18075](https://github.com/vitessio/vitess/pull/18075)
* [release-21.0] Fix `Reshard Cancel` behavior (#18020) [#18080](https://github.com/vitessio/vitess/pull/18080)
### CI/Build
#### General
* [release-21.0] Upgrade the Golang version to `go1.23.6` [#17699](https://github.com/vitessio/vitess/pull/17699)
* [release-21.0] Upgrade the Golang version to `go1.23.7` [#17901](https://github.com/vitessio/vitess/pull/17901)
* [release-21.0] Upgrade the Golang version to `go1.23.8` [#18092](https://github.com/vitessio/vitess/pull/18092)
### Dependencies
#### Build/CI
* [release-21.0] Bump golang.org/x/net from 0.34.0 to 0.36.0 (#17958) [#17960](https://github.com/vitessio/vitess/pull/17960)
### Performance
#### Performance
* [release-21.0] smartconnpool: Better handling for idle expiration (#17757) [#17781](https://github.com/vitessio/vitess/pull/17781)
#### Query Serving
* [release-21.0] pool: reopen connection closed by idle timeout (#17818) [#17829](https://github.com/vitessio/vitess/pull/17829)
* [release-21.0] Fix: Separate Lock for Keyspace to Update Controller Mapping in Schema Tracking (#17873) [#17885](https://github.com/vitessio/vitess/pull/17885)
### Regression
#### Query Serving
* [release-21.0] Fix a potential connection pool leak. (#17807) [#17814](https://github.com/vitessio/vitess/pull/17814)
#### VTTablet
* [release-21.0] fix: App and Dba Pool metrics (#18048) [#18084](https://github.com/vitessio/vitess/pull/18084)
### Release
#### General
* [release-21.0] Bump to `v21.0.4-SNAPSHOT` after the `v21.0.3` release [#17766](https://github.com/vitessio/vitess/pull/17766)
* [release-21.0] Code Freeze for `v21.0.4` [#18135](https://github.com/vitessio/vitess/pull/18135)
### Testing
#### Build/CI
* [release-21.0] Use release branches for upgrade downgrade tests (#18029) [#18035](https://github.com/vitessio/vitess/pull/18035)
#### Query Serving
* [release-21.0] DML test fix for duplicate column value [#17980](https://github.com/vitessio/vitess/pull/17980)
* [release-21.0] Test: Increase query timeout to fix flaky test 'TestQueryTimeoutWithShardTargeting' (#18016) [#18040](https://github.com/vitessio/vitess/pull/18040)

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

The release includes 35 merged Pull Requests.

Thanks to all our contributors: @app/vitess-bot, @dbussink, @frouioui, @harshit-gangal, @mattlord, @systay, @vitess-bot

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

* **[21.0.3](21.0.3)**
* [Changelog](21.0.3/changelog.md)
* [Release Notes](21.0.3/release_notes.md)
Expand Down
Loading
Loading