Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Slack vitess 2020.04.28.r0 #155

Merged
merged 758 commits into from
May 4, 2020
Merged

Slack vitess 2020.04.28.r0 #155

merged 758 commits into from
May 4, 2020

Conversation

ajm188
Copy link

@ajm188 ajm188 commented Apr 28, 2020

Pulls in changes from upstream v5.20+20200204 plus the following changes:

sougou and others added 30 commits December 31, 2019 14:53
The protoc generated code was not matching the goimports standard.
I've added a goimports step after the build.
This caused another breakage because time.proto did not match its
package name of vttime. I've fixed that also.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Fixes vitessio#5636

There was an unnecessary error check in a goroutine that could
terminate late. The check has been removed.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Morgan Tocker <tocker@gmail.com>
Signed-off-by: Morgan Tocker <tocker@gmail.com>
Signed-off-by: Morgan Tocker <tocker@gmail.com>
Move flaky tests to _flaky_ + change unit/unit_race to go 1.13
The latest stream from "current" position feature introduced
a hang in the vstreamer, if the subsequent DMLs started getting
played before the vstreamer would start pulling from binlogs.

The fix is to wait till we get a heartbeat before proceeding
with the tests.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: RickyRajinder <singh.sangh@gmail.com>
Signed-off-by: Arindam Nayak <arindam.nayak@outlook.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
increased timeout of tablet status check
Signed-off-by: Gary Edgar <gary@planetscale.com>
…er flag

Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
Fixes vitessio#5590

Previously the nextval code assumed that next_id will be changed
externally. As explained in the bug, this can now happen with the
new use cases.

This change ensures that vttablet will work correctly even if
next_id was changed.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
tools/make-release-packages.sh: stop packaging web dir
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Tabletmanager tests cases migrated from Python
Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: Morgan Tocker <tocker@gmail.com>
deepthi and others added 25 commits January 21, 2020 15:49
…-patch

Add web_dir options back so as to not break existing binaries. Options are ignored
Signed-off-by: Morgan Tocker <tocker@gmail.com>
Fixes vitessio#5752

DBClient was setting the connection to nil after close, which was
causing vreplication to panic because it defers a Rollback on all
connections. The safer thing is to close the connection, but not
set it to nil.

There's no test for DBClient, but I've manually verified that this
won't panic any more.

Signed-off-by: Sugu Sougoumarane <ssougou@gmail.com>
A file close was done before error checking, and the TestValidParallel name
collided with TestValid when typing in `go test -run TestValid`.

Signed-off-by: Jeff Hodges <jeff@somethingsimilar.com>
make sqlparser/parse_test.go nicer to work with
add DISTINCTROW to regular function without calling special token
This addresses symptoms, but not causes, discussed in vitessio#5755 and vitessio#5756

Signed-off-by: Jeff Hodges <jeff@somethingsimilar.com>
correct gofmt of vtctld and re-sync go.mod
…sio#5738)

* first commit to use zk in tests

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* Fixed zookeeper and added consul

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* added consul setup

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* added consul and zk2 tabletmanager tests in config

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* Minor edits

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* fixing verticalsplit test

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* Moving tabletmanager test to shard 18

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* fixed reparent test

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* Removing unrequired changes

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* review comments addressed

Signed-off-by: Ajeet jain <ajeet@planetscale.com>
…itessio#5693)

* initial commit for backup_only

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* changes in package structure

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* updating package name and fixing a test

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* removed unrequired teardown code

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* Removed debug code

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* Reset replication on mysql _before_ deleting vttablet from topo

Signed-off-by: deepthi <deepthi@planetscale.com>

Co-authored-by: Deepthi Sigireddi <deepthi.sigireddi@gmail.com>
)

* initial commit for backup_only

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* changes in package structure

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* updating package name and fixing a test

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* removed unrequired teardown code

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* Removed debug code

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* inital commit for xtrabackup

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* fix sequencing of cleanup

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* fix terminate restore for xtrabackup

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* updated config for xtrabackup

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* added xtrabackup stream mode

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* updated config for xtrabackup stream

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* minor changes to config

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* Added percona 56 new dependency

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* Putting the dependency at right place

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* updated apt tp apt-get

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* corrected the typo

Signed-off-by: Ajeet jain <ajeet@planetscale.com>

* fixed a comma in config.json

Signed-off-by: Ajeet jain <ajeet@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
remove reference to web/vtctld from Makefile
Signed-off-by: Morgan Tocker <tocker@gmail.com>
Signed-off-by: Michael Demmer <mdemmer@slack-corp.com>
Patch to handle this case while we move towards a permanent fix upstream.
cf. vitessio#4661 vitessio#4669
@ajm188 ajm188 force-pushed the slack-vitess-2020.04.28.r0 branch from 5732eeb to 6ddeb92 Compare April 28, 2020 18:33
@zmagg zmagg force-pushed the slack-vitess-2020.04.28.r0 branch from 6ddeb92 to fd11709 Compare April 29, 2020 22:42
…ounts

Update query counts for stream queries from vtgate
@zmagg zmagg force-pushed the slack-vitess-2020.04.28.r0 branch from fd11709 to 070a595 Compare April 29, 2020 22:58
@zmagg zmagg merged commit 08881a4 into master May 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet