Skip to content
This repository was archived by the owner on Dec 16, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
1aae1b6
fix regression - should be able to plan subquery on top of subquery
systay Mar 15, 2021
5643642
ubuntu-18.04
shlomi-noach Mar 16, 2021
2115fa6
all ubuntu-latest => ubuntu-18.04
shlomi-noach Mar 16, 2021
8deee52
Merge pull request #7683 from planetscale/fix-subq-9.0
systay Mar 16, 2021
b6e31d2
added e2e test for unsharded reserved connection transaction
harshit-gangal Mar 9, 2021
7db4e52
added unit test for reserved conn issue
harshit-gangal Mar 9, 2021
b6056da
Two changes here:
harshit-gangal Mar 9, 2021
5164453
return code_aborted if connection not found in case of Begin with res…
harshit-gangal Mar 9, 2021
453f5a8
make e2e test to run faster
harshit-gangal Mar 9, 2021
5115a94
fix unit test
harshit-gangal Mar 12, 2021
08fd9a1
Merge pull request #7666 from planetscale/bp-7646
harshit-gangal Mar 16, 2021
9ced2dd
add current_user parse test
harshit-gangal Mar 17, 2021
77a633b
added parsing support for current_user function
harshit-gangal Mar 17, 2021
8e74f43
Merge pull request #7706 from planetscale/bp-7705
harshit-gangal Mar 17, 2021
e2e4450
healthcheck: update healthy tablets correctly when a stream returns a…
deepthi Mar 10, 2021
a83d30e
healthcheck: remove PRIMARY from healthy list when there's an error o…
deepthi Mar 11, 2021
c3693f8
healthcheck: reorganize code to be more readable
deepthi Mar 12, 2021
064d399
Merge pull request #7732 from planetscale/ds-backport-7654
askdba Mar 24, 2021
c343360
make sure to handle subqueries on top of subqueries
systay Mar 23, 2021
61e13d2
check error before returning
systay Mar 25, 2021
e92e363
Merge pull request #7776 from planetscale/bp-7730
shlomi-noach Apr 1, 2021
ca705e6
make sure to not log sensitive information
systay Apr 1, 2021
b720ad0
addressed review comments
harshit-gangal Apr 1, 2021
30e2981
Merge pull request #7778 from planetscale/bp-7774
shlomi-noach Apr 1, 2021
2e35451
ddl bypass planner
harshit-gangal May 1, 2021
5501139
Fixes bad conflict resolution
May 5, 2021
be3ce27
merge sort stream fix
harshit-gangal May 5, 2021
cde403a
squashed backport of PR 7879
harshit-gangal Apr 22, 2021
2266801
fix test config
harshit-gangal May 5, 2021
a1707f8
Merge pull request #8041 from planetscale/bp-7879
systay May 5, 2021
48480d8
Merge pull request #8040 from planetscale/bp-7903
harshit-gangal May 5, 2021
684b9f0
added e2e test for query serving even when topo server is down
harshit-gangal Feb 11, 2021
017703e
do not evict cache if unable to connect to topo server
harshit-gangal Feb 11, 2021
bf018aa
make sure to keep data even when topo server is deleted
systay Feb 15, 2021
25d02dd
added toposerver down testing for zk, consul and etcd
harshit-gangal Feb 15, 2021
bff6891
added to ci tests
harshit-gangal Feb 15, 2021
d32e22b
fixed e2e test config for zk and consul
harshit-gangal Feb 15, 2021
f7ce46d
test in right shard
harshit-gangal Feb 16, 2021
d088c60
fix test config
harshit-gangal May 5, 2021
3bce5f8
Merge pull request #8035 from tinyspeck/backports-8013-to-9.0
harshit-gangal May 5, 2021
3529118
Rebuild SrvVSchema after deleting routing rules on MoveTables complet…
rohit-nayak-ps Feb 17, 2021
af9eadb
vreplication: fix vreplication timing metrics
dyv May 3, 2021
5043c0f
VReplication: Pad binlog values for binary() columns to match the val…
rohit-nayak-ps Apr 27, 2021
c3107ce
Merge pull request #8046 from planetscale/bp-7484
systay May 6, 2021
3c192cb
ignore the error and log as warn if not able to validate the current …
harshit-gangal Apr 30, 2021
451fbd2
Merge pull request #8059 from planetscale/9.0-backport-7505
systay May 6, 2021
9c58930
Merge pull request #8062 from planetscale/9.0-backport-8004
harshit-gangal May 6, 2021
e1800a5
Merge pull request #8061 from planetscale/9.0-backport-of-7969
systay May 6, 2021
fbc616a
Merge pull request #8060 from planetscale/9.0-backport-of-8024
systay May 6, 2021
036f4ef
restore: do not restart replication if disable_active_reparents is se…
deepthi Feb 27, 2021
917063e
Merge pull request #8063 from planetscale/backport-9.0.1
systay May 6, 2021
42c38e5
Release commit for 9.0.1
systay May 6, 2021
83f1e34
Back to dev mode
systay May 6, 2021
209bb41
Merge pull request #8065 from planetscale/systay-9.0.1
systay May 7, 2021
09a2956
9.0.0: update release notes with known issue #8080
deepthi May 7, 2021
5174796
Fix information_schema query with system schema in table_schema filter
harshit-gangal Feb 2, 2021
3f5d8a5
Merge pull request #8095 from planetscale/9.0-7430
harshit-gangal May 11, 2021
faeef97
Routing of Information Schema Queries
GuptaManan100 Apr 13, 2021
d3ff88b
System schema query predicate fix
harshit-gangal May 9, 2021
79e3069
Merge pull request #8096 from planetscale/9.0-inf-schema-backports
systay May 11, 2021
7e448aa
Queryservice fix
harshit-gangal May 10, 2021
c974aaa
restore: check disable_active_reparents properly before waiting for p…
deepthi Mar 17, 2021
150f281
restore: call orc.EndMaintenance only if there is no error
deepthi Mar 17, 2021
8fd2b64
backup: call orc.EndMaintenance only if there is no error
deepthi Mar 17, 2021
5db5667
replication: call orc.EndMaintenance in UndoDemoteMaster
deepthi Mar 17, 2021
320376d
tests: add mutex to FakeMysqlDaemon
deepthi Mar 17, 2021
accfcf5
Merge pull request #8082 from planetscale/ds-9-0-rel-notes
deepthi May 12, 2021
345b61b
fix unit tests
deepthi May 13, 2021
e61a88a
Merge pull request #8098 from planetscale/9.0-8089
deepthi May 14, 2021
bc80679
Merge pull request #8114 from planetscale/ds-backport-7703
deepthi May 14, 2021
f1e4cec
Merge branch 'release-9.0' into slack-vitess-9-2021.05.18r6
May 18, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check_formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:

build:
name: Check Formatting
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:

- name: Set up Go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_make_parser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:

build:
name: Check Make Parser
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:

- name: Set up Go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_make_visitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:

build:
name: Check Make Visitor
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:

- name: Set up Go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cluster_endtoend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [push, pull_request]
jobs:

build:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
strategy:
matrix:
name: [11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 26, 27]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cluster_endtoend_upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:

build:
name: Run endtoend tests on Cluster (upgrade)
runs-on: ubuntu-latest
runs-on: ubuntu-18.04

steps:
- name: Set up Go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cluster_initial_sharding_multi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:

build:
name: cluster initial sharding multi
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:

- name: Set up Go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build:
name: Create Release
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:

- name: Set up Go
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker_test_1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:

build:
name: Docker Test 1
runs-on: ubuntu-latest
runs-on: ubuntu-18.04

steps:

Expand All @@ -18,4 +18,4 @@ jobs:

- name: Run tests which require docker - 1
run: |
go run test.go -docker=true --follow -shard 10
go run test.go -docker=true --follow -shard 10
4 changes: 2 additions & 2 deletions .github/workflows/docker_test_2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:

build:
name: Docker Test 2
runs-on: ubuntu-latest
runs-on: ubuntu-18.04

steps:

Expand All @@ -18,4 +18,4 @@ jobs:

- name: Run tests which require docker - 2
run: |
go run test.go -docker=true --follow -shard 25
go run test.go -docker=true --follow -shard 25
2 changes: 1 addition & 1 deletion .github/workflows/docker_test_3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:

build:
name: Docker Test 3
runs-on: ubuntu-latest
runs-on: ubuntu-18.04

steps:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e_race.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:

build:
name: End-to-End Test (Race)
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:

- name: Set up Go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/endtoend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:

build:
name: End-to-End Test
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:

- name: Set up Go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ensure_bootstrap_updated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:

build:
name: Check Bootstrap Updated
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:

- name: Set up Go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- name: Set up Go 1.15
uses: actions/setup-go@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonar_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
jobs:

build:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04

steps:
- name: Set up Go
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: [push, pull_request]
jobs:

build:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
strategy:
matrix:
name: [percona56, mysql57, mysql80, mariadb101, mariadb102, mariadb103]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit_race.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:

build:
name: Unit Test (Race)
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:

- name: Set up Go
Expand Down
3 changes: 3 additions & 0 deletions doc/releasenotes/9_0_0_release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ The following PRs made changes to behaviors that clients might rely on. They sho

Vitess 9.0 is not compatible with the previous release of the Vitess Kubernetes Operator (2.2.0). A new version of the Operator (2.3.0) is available that is compatible.

## Known Issue(s)
* VReplication errors when a fixed-length binary column is used as the sharding key #8080

## Bugs Fixed

### VTGate / MySQL compatibility
Expand Down
38 changes: 38 additions & 0 deletions doc/releasenotes/9_0_1_release_notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
This release complies with VEP-3 which removes the upgrade order requirement. Components can be upgraded in any order. It is recommended that the upgrade order should still be followed if possible, except to canary test the new version of VTGate before upgrading the rest of the components.

## Bug fixes
### Cluster management
* Backport: Respect -disable_active_reparents in backup/restore #8063
### Other
* [9.0] fix regression - should be able to plan subquery on top of subquery #7683
### Query Serving
* [9.0] Fix for reserved connection usage with transaction #7666
* [9.0] Fix MySQL Workbench failure on login with `select current_user()` #7706
* [9.0] make sure to handle subqueries on top of subqueries #7776
* [9.0] make sure to not log sensitive information #7778
* [9.0] ddl bypass planner #8035
* [9.0] Memory Sort to close the goroutines when callback returns error #8040
* [9.0] Fix bug with reserved connections to stale tablets #8041
* [9.0] Fix for Query Serving when Toposerver is Down #8046
* ignore the error and log as warn if not able to validate the current system settings value #8062
### VReplication
* VReplication: fix vreplication timing metrics #8060
* VReplication: Pad binlog values for binary() columns to match the value returned by mysql selects #8061
## Documentation
### Other
* 9.0.0 Release Notes #7384
## Other
### Build/CI
* Fix Dockerfiles for vtexplain and vtctlclient #7418
### Query Serving
* Fix table parsing on VSchema generation #7511
* [9.0] Show anywhere plan fix to consider default keyspace #7530
* [9.0] Reset Session for Reserved Connection when the connection id is not found #7544
* Healthcheck: update healthy tablets correctly when a stream returns an error or times out #7732
### VReplication
* MoveTables: Refresh SrvVSchema and source tablets on completion #8059


The release includes 43 commits (excluding merges)
Thanks to all our contributors: @askdba, @deepthi, @dyv, @harshit-gangal, @rafael, @rohit-nayak-ps, @shlomi-noach, @systay

13 changes: 10 additions & 3 deletions go/test/endtoend/cluster/cluster_process.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ type LocalProcessCluster struct {
Cell string
BaseTabletUID int
Hostname string
TopoFlavor string
TopoPort int
TmpDirectory string
OriginalVTDATAROOT string
Expand Down Expand Up @@ -173,6 +174,8 @@ func (cluster *LocalProcessCluster) StartTopo() (err error) {
if cluster.Cell == "" {
cluster.Cell = DefaultCell
}

topoFlavor = cluster.TopoFlavorString()
cluster.TopoPort = cluster.GetAndReservePort()
cluster.TmpDirectory = path.Join(os.Getenv("VTDATAROOT"), fmt.Sprintf("/tmp_%d", cluster.GetAndReservePort()))
cluster.TopoProcess = *TopoProcessInstance(cluster.TopoPort, cluster.GetAndReservePort(), cluster.Hostname, *topoFlavor, "global")
Expand Down Expand Up @@ -758,9 +761,13 @@ func (cluster *LocalProcessCluster) StartVttablet(tablet *Vttablet, servingStatu
return tablet.VttabletProcess.Setup()
}

//func (cluster *LocalProcessCluster) NewOrcInstance() OrchestratorProcess {
//
//}
// TopoFlavorString returns the topo flavor
func (cluster *LocalProcessCluster) TopoFlavorString() *string {
if cluster.TopoFlavor != "" {
return &cluster.TopoFlavor
}
return topoFlavor
}

func getCoveragePath(fileName string) string {
covDir := os.Getenv("COV_DIR")
Expand Down
2 changes: 1 addition & 1 deletion go/test/endtoend/cluster/topo_process.go
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ func (topo *TopoProcess) TearDown(Cell string, originalVtRoot string, currentRoo
// Attempt graceful shutdown with SIGTERM first
_ = topo.proc.Process.Signal(syscall.SIGTERM)

if !*keepData {
if !(*keepData || keepdata) {
_ = os.RemoveAll(topo.DataDirectory)
_ = os.RemoveAll(currentRoot)
}
Expand Down
Loading