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

Slack sync upstream 2020 03 10.r0 #147

Closed
wants to merge 904 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
904 commits
Select commit Hold shift + click to select a range
a2085fb
Use matrix build for cluster-endtoend shards
morgo Dec 31, 2019
2b9dcf5
Add eatmydata
morgo Dec 31, 2019
77ce368
Merge pull request #5635 from planetscale/morgo-improve-gh-actions
morgo Dec 31, 2019
9219450
builds: fix protoc goimports issue
sougou Dec 31, 2019
5a9da55
Merge pull request #5632 from planetscale/ss-unbreak-protoc
sougou Dec 31, 2019
079ec56
tests: fix panic in vstreamer_test
sougou Dec 31, 2019
65b21d8
Merge pull request #5637 from planetscale/ss-fix-test-panic
sougou Jan 1, 2020
64e1ad3
Move flaky test to _flaky_
morgo Jan 1, 2020
90958b3
Change unit/unit_race to go 1.13
morgo Jan 1, 2020
fd72e70
Move additional test to flaky
morgo Jan 1, 2020
d0bca3c
Merge pull request #5639 from planetscale/morgo-flaky-unit-test
deepthi Jan 1, 2020
6614afe
vrepl: yet another vstreamer deflake
sougou Jan 2, 2020
1836426
removing unrequired statement based test as it is deprecated
ajeetj Jan 2, 2020
0c6197c
fixing vttablet endtoend tests
ajeetj Jan 2, 2020
53583c7
Add check if mysqlctl EUID is 0
RickyRajinder Jan 2, 2020
4d59789
increased timeout of tablet status check
arindamnayak Jan 2, 2020
24cb79d
added missing tests
ajeetj Dec 27, 2019
001ef75
fix TestIgnoreHealthError
ajeetj Jan 2, 2020
e25368f
Merge pull request #5642 from planetscale/ss-deflake-vstreamer3
morgo Jan 2, 2020
0d4f04f
Merge pull request #5643 from planetscale/fix_backup_flaky
morgo Jan 2, 2020
6d5f332
Merge pull request #5644 from RickyRajinder/root-exec-protection
morgo Jan 2, 2020
0882f18
Fixed various py tests by removing web_dir references. Removed test f…
rohit-nayak-ps Jan 2, 2020
85fc967
Merge pull request #5597 from rohit-nayak-ps/embed-vtctld-assets
morgo Jan 2, 2020
ca76c58
tools/make-release-packages.sh: stop packaging web dir
Jan 2, 2020
510b1fe
DeleteTablet: allow deletion of old master tablet without -allow_mast…
deepthi Jan 2, 2020
fbdb1cb
don't use err.Error() when err can be nil
deepthi Jan 2, 2020
f35b0df
vttablet: seq: make nextval more robust
sougou Dec 18, 2019
0aaae85
Merge pull request #5645 from planetscale/gedgar-web-cleanup
morgo Jan 3, 2020
434f95a
removing obsolete test as we are moving to RBR
ajeetj Jan 3, 2020
14d4739
Merge pull request #5588 from planetscale/tal_test_rbr_default
morgo Jan 3, 2020
2c1b394
Merge pull request #5630 from planetscale/tal_tabletmanager_4
deepthi Jan 3, 2020
1b142db
reconfigured the matrix for endtoend_cluster test
ajeetj Jan 3, 2020
e1d4697
Remove out of date comments
morgo Jan 3, 2020
9ff72fe
Merge pull request #5651 from planetscale/morgo-update-comments
morgo Jan 3, 2020
5cb5ca6
Merge pull request #5650 from planetscale/cluster_endtoend_shards
morgo Jan 3, 2020
cafd109
Merge branch 'master' into mysql-replication-bugfix
deepthi Jan 3, 2020
dce0ff1
make test non-flaky
deepthi Jan 3, 2020
020bce0
Merge pull request #5627 from planetscale/mysql-replication-bugfix
deepthi Jan 3, 2020
aa82cc6
vrepl: address review comment
sougou Jan 3, 2020
434a684
Merge pull request #5628 from planetscale/ss-vrepl-materialize
sougou Jan 3, 2020
f7c1db0
Embed mycnf files and init_db
morgo Jan 3, 2020
4d6c8d1
Improve gitignore, remove config from packages
morgo Jan 3, 2020
f4baace
DeleteTablet: detect whether tablet is master consistent with how we …
deepthi Jan 3, 2020
71083da
fix return
deepthi Jan 3, 2020
8c15026
Merge pull request #5648 from planetscale/ds-fix-srvtopo-test
deepthi Jan 3, 2020
28eb3c1
Completely remove VTROOT requirement
morgo Jan 3, 2020
a299399
Trying to reuse the conn for bulk queries
ajeetj Jan 6, 2020
4225f42
updated python to run tabletmanager for zk and consul
ajeetj Jan 6, 2020
2cc194c
Fixed port in use issue occurs during testcase exec
arindamnayak Jan 6, 2020
7208a73
Add mod files
saifalharthi Jan 6, 2020
6c979e9
Add go sum file
saifalharthi Jan 6, 2020
1f7fa6b
address reviews
deepthi Jan 6, 2020
2d0b627
Merge pull request #5658 from planetscale/tal_fix_port_in_use
morgo Jan 6, 2020
8755c09
Merge pull request #5657 from planetscale/resharding_fix
morgo Jan 6, 2020
ad9c353
Added LastInsertId to the grpc Session object
systay Dec 3, 2019
255e321
select last_insert_id() working for non-streaming case
rohit-nayak-ps Dec 10, 2019
e8604e9
Fixed tests
systay Dec 11, 2019
f6c0c4d
Only add last insert id bind var if needed
systay Dec 12, 2019
b6796a4
Make sure to handle last_insert_id in subqueries
systay Dec 12, 2019
5d24355
Rewrite database() expressions
systay Dec 12, 2019
ca3d99a
Fix shared state between tests
systay Dec 13, 2019
46c5793
Make sure to add column aliases when needed
systay Dec 13, 2019
9138f44
Small refactoring
systay Dec 13, 2019
e56dd20
Handle last_insert_id() on insert statements as well
systay Dec 13, 2019
0134933
Make sure to handle last_insert_id for union
systay Dec 13, 2019
a3acc14
Make sure to handle last_insert_id for update
systay Dec 13, 2019
6daeb00
Change the short gpg key into long gpg key
jiameixie Dec 24, 2019
7e4f627
Remove duplicated words
longkb Jan 7, 2020
46c302b
Enable authorization via mtls client cert attribute
kalfonso Dec 22, 2019
76b3cf2
added encrypted_transport testcase migrated in go
saurabh408 Jan 7, 2020
c3f8a42
Addressed review comments
saurabh408 Jan 7, 2020
af16d16
Merge remote-tracking branch 'upstream/master' into morgo-bundle-configs
morgo Jan 7, 2020
c7cb00c
Merge with upstream master to fix conflicts
saifalharthi Jan 7, 2020
6bfaa4d
Merge pull request #5663 from longkb/remove_duplciated_words
deepthi Jan 7, 2020
2f0e6ae
Merge pull request #5647 from planetscale/ds-delete-tablet-fake-master
deepthi Jan 7, 2020
32b04a8
Merge pull request #5661 from jiameixie/long-gpg
morgo Jan 7, 2020
dc5455f
xtrabackup: Add a buffered reader in front of xtrabackup's stdout pipe.
enisoc Jan 7, 2020
a40f4ce
Make sure to rewrite last_insert_id() for DELETEs
systay Jan 7, 2020
219b34f
Merge pull request #5451 from systay/last_insert_id
sougou Jan 7, 2020
981afec
vrepl: Migrate vtctld command
sougou Dec 8, 2019
a6695a7
vrepl: Migrate tweaks and tests
sougou Dec 8, 2019
e4edd02
vrepl: Migrate deflake tests
sougou Dec 16, 2019
7178576
vrepl: Migrate: address review comments
sougou Jan 8, 2020
9b0dae0
Merge pull request #5664 from planetscale/tal_upstream_encrypted_tran…
deepthi Jan 8, 2020
df21380
Added test to ensure connections are rolledback
saifalharthi Jan 8, 2020
6d44678
Merge pull request #5653 from planetscale/ss-vrepl-migrate
sougou Jan 8, 2020
6c04cdc
vreplication: write_only for consistent lookups
sougou Aug 6, 2019
dfeeab5
vreplication: stop_after_copy option
sougou Aug 6, 2019
2660176
vrepl: Materialize honors stop_after_copy
sougou Dec 9, 2019
e958cf5
Merge pull request #5614 from kalfonso/kalfonso.191223-mtls-auth
tirsen Jan 8, 2020
d4b1b68
commit ricebox per reviewer feedback
morgo Jan 8, 2020
d2d8d5a
tabletmanager: Fully stop shard sync loop on shutdown. (#5667)
enisoc Jan 9, 2020
01950c9
Advertise support for FOUND ROWS from server
Jan 9, 2020
3df2fd9
Fix order
Jan 9, 2020
02f88c8
sharded recovery testcase migrated in go
saurabh408 Jan 9, 2020
4e6931d
Merge pull request #5676 from planetscale/tj-server-found-rows-advertise
morgo Jan 9, 2020
eb923fc
Merge pull request #5666 from planetscale/xtrabackup-read-buffer
deepthi Jan 9, 2020
30a4057
remove unused GetMasterCell
deepthi Jan 9, 2020
35a689b
consultopo: Enforce a connection heartbeat for Watch(). (#5673)
enisoc Jan 9, 2020
b290a37
delete AggregateStats, replace Resolver.stats with Resolver.queryService
deepthi Jan 10, 2020
2455082
Add datadog plugin for tracing
kalfonso Jan 10, 2020
a6fcbc8
bootstrap.sh: Clear PYTHONPATH for virtualenv in install_selenium. (#…
enisoc Jan 10, 2020
4b91d38
remove comments and unnecessary codes
saurabh408 Jan 10, 2020
4fc742e
Add vttablet auth support for external Azure MySQL.
aquarapid Jan 10, 2020
a83b7d8
Merge pull request #5683 from planetscale/jacques_azure_auth
sougou Jan 10, 2020
085b870
Fixes bug in filepos flavor
rafael Jan 10, 2020
69b6aab
Merge pull request #5688 from tinyspeck/fix-comparison-bug-filepos-fl…
sougou Jan 10, 2020
61a8ed4
Updates how master gtid position is obtained for file:pos flavor
rafael Jan 11, 2020
6bd0b3e
Merge pull request #5689 from tinyspeck/updates-master-gtidset-file-pos
sougou Jan 11, 2020
4e3041e
Merge pull request #5654 from planetscale/morgo-bundle-configs
sougou Jan 11, 2020
2a88881
Merge pull request #5679 from planetscale/ds-simplify-resolve
deepthi Jan 11, 2020
cdf8024
log4j upgrade from 1.x to 2.x
harshit-gangal Jan 11, 2020
803b736
Merge pull request #5691 from harshit-gangal/log4j2
sougou Jan 12, 2020
3670303
Merge pull request #5669 from planetscale/ss-vrepl-prep-lookup
deepthi Jan 13, 2020
5b8944f
config.json file cleanup
ajeetj Jan 13, 2020
6b77117
balance travis shards
ajeetj Jan 13, 2020
cdec01c
fix(examples): fix the undefined flags in example yaml
maaaace Jan 13, 2020
4b7223b
Securing many http links to https links
Jan 13, 2020
dd2e9af
Merge branch 'master' into jacques_dottablenames
aquarapid Jan 13, 2020
0f92021
Disable mysql 8.0 unit test
morgo Jan 13, 2020
63cbaae
Merge pull request #5598 from planetscale/jacques_dottablenames
sougou Jan 13, 2020
508318f
Merge pull request #5698 from planetscale/morgo-disable-mysql80
deepthi Jan 13, 2020
0f65eea
Merge pull request #5697 from truongnh1992/secure_link
morgo Jan 13, 2020
e677f35
Merge pull request #5694 from planetscale/tal_test_cleanup
morgo Jan 13, 2020
263f2e5
Merge remote-tracking branch 'upstream/master' into sa-fix-5553
saifalharthi Jan 13, 2020
92c7b11
Fix regression introduced by #5326
morgo Jan 13, 2020
5f69296
Add onClose Hook to ensure rollback when shutdown
saifalharthi Jan 13, 2020
1b384b8
Merge pull request #5704 from planetscale/morgo-fix-5326-regression
morgo Jan 13, 2020
b06eaae
adds position and last token context to parse errors
cmoog Jan 11, 2020
6b55d84
vitess/lite: Install config files at the new location. (#5707)
enisoc Jan 14, 2020
5962d11
adds unit tests for PositionedErr parse error
cmoog Jan 14, 2020
9ba30aa
Fix race test
saifalharthi Jan 14, 2020
4ea11a5
tools/make-release-packages.sh: Various fixes
Jan 14, 2020
1008399
Merge pull request #5714 from planetscale/gedgar-packages-fix
morgo Jan 15, 2020
e35346d
Fix rice-box problem
morgo Jan 14, 2020
84090ec
Merge pull request #5696 from maaaace/fix-helm-example
sougou Jan 15, 2020
19df730
vschema: ChooseVindexForType
sougou Dec 9, 2019
bfb6a42
vrepl: CreateLookupVindex initial cut
sougou Dec 14, 2019
f87c943
vrepl: CreateLookupVindex tweaks
sougou Dec 15, 2019
65e7d3a
vrepl: CreateLookupVindex tests WIP 1
sougou Dec 15, 2019
32610ef
vrepl: CreateLookupVindex CreateDDL tests
sougou Dec 16, 2019
708bddb
vrepl: CreateLookupVindex TargetVSchema tests
sougou Dec 18, 2019
c68ef47
vrepl: CreateLookupVindex more vschema tests
sougou Dec 19, 2019
220be07
vrepl: CreateLookupVindex full test
sougou Dec 19, 2019
d3851f3
vrepl: CreateLookupVindex vtctl command
sougou Dec 19, 2019
727f307
vrepl: address review comments
sougou Jan 15, 2020
6781ff4
Remove rebuilding embedded config from build
morgo Jan 15, 2020
1e10d2e
Merge pull request #5692 from planetscale/ss-create-lookup
sougou Jan 15, 2020
4d2b9e6
vrepl: fix materializer bug
sougou Jan 15, 2020
a926cc4
Merge pull request #5715 from planetscale/ss-materialize-bug
deepthi Jan 15, 2020
74914ea
vtgate: alternate approach for shutdown
sougou Jan 15, 2020
913147f
vtgate: tweak rollback test for faster run
sougou Jan 15, 2020
8b0467c
vrepl: ExternalizeVindex
sougou Dec 20, 2019
da933af
vrepl: ExternalizeVindex vtctl command
sougou Dec 20, 2019
5165f85
Merge pull request #5711 from planetscale/morgo-fix-rice-box
morgo Jan 15, 2020
b322579
Restore support for mysqlctl_mycnf_template
morgo Jan 15, 2020
cabe314
Merge pull request #5659 from planetscale/sa-fix-5553
sougou Jan 15, 2020
89e396d
Change from warning to fatal
morgo Jan 15, 2020
af39181
added distictrow
Ronihe Jan 15, 2020
2152b55
Merge pull request #5718 from planetscale/rh-support-distinctrow
systay Jan 15, 2020
9ed7623
examples/helm/kvtctld.sh: chmod +x
Jan 16, 2020
ad88572
Merge pull request #5719 from planetscale/gedgar-make-kvtctld-executable
morgo Jan 16, 2020
3ab33f6
prepare statment test case.
princeparmar Jan 16, 2020
d526efd
added python commented out testcases
saurabh408 Jan 16, 2020
ed627b6
merge from vitessio master into tal_sharded_recovery_test
saurabh408 Jan 16, 2020
b7eb2e8
modifying recovery tests package and addressed review comments
saurabh408 Jan 16, 2020
805b940
Fix git signoff pre-commit hook
neowulf Jan 17, 2020
180f7ae
Add LD_PRELOAD env var when starting mysql related scripts
neowulf Jan 17, 2020
4e46a60
mysql server testcase. (#5671)
princeparmar Jan 17, 2020
1d60870
Merge pull request #5684 from planetscale/tal_sharded_recovery_test
deepthi Jan 17, 2020
0ac67ab
Merge branch 'master' into prepared-statement
princeparmar Jan 17, 2020
8674768
prepared_statement: comments changes as per idiomatic go, removed elses.
princeparmar Jan 17, 2020
bdf463d
prepared_statement: unwanted dependency removed.
princeparmar Jan 17, 2020
5c05f6e
prepare_statement: dummy commit.
princeparmar Jan 17, 2020
fdc3c6e
Address #5734 by forming MySQL error packet on query parse error during
aquarapid Jan 18, 2020
405ae09
Merge pull request #5716 from planetscale/ss-externalize
sougou Jan 19, 2020
a016bab
vstream: support special "current" position
sougou Dec 24, 2019
7cb55d1
vstream: fill defaults for inputs
sougou Dec 24, 2019
751254e
vstream: move functionality to vstreamManager
sougou Dec 25, 2019
7506c2b
vstream: more refactor to prep for journals
sougou Dec 25, 2019
afcc462
vstream: require explicit 'current' position
sougou Jan 19, 2020
824f835
Merge pull request #5690 from cmoog/pos_parse_err
sougou Jan 19, 2020
c4e06a1
Merge pull request #5681 from kalfonso/kalfonso.200109-datadog-tracin…
sougou Jan 19, 2020
7fe2822
Merge pull request #5670 from princeparmar/prepared-statement
sougou Jan 19, 2020
3b00c57
patches error logic
cmoog Jan 19, 2020
c9d2a14
Merge pull request #5737 from cmoog/pos_parse_err
sougou Jan 19, 2020
bd8205e
Merge pull request #5609 from guidoiaquinti/vitess_mixin
sougou Jan 19, 2020
8c6fd67
Merge pull request #5735 from planetscale/jacques_5734
sougou Jan 19, 2020
1a2cddf
Merge pull request #5736 from planetscale/ss-vstream-defaults
deepthi Jan 20, 2020
b23afc0
ApplySchema: Allow ALTER DATABASE.
enisoc Jan 18, 2020
22217bb
Slightly improve error message
morgo Jan 20, 2020
2dc1c78
Deprecate disable_local_gateway flag. It should have been removed alo…
deepthi Jan 20, 2020
bd5c3db
Support additional SHOW synatx
saifalharthi Dec 16, 2019
490a0cf
Fix conflict
saifalharthi Jan 20, 2020
9d37f47
Add go mod and sum
saifalharthi Jan 20, 2020
bbf08d0
Merge pull request #5733 from planetscale/apply-schema-alter-database
deepthi Jan 21, 2020
1c77ea6
Merge branch 'master' into ss-bug-nextval
tirsen Jan 21, 2020
955f4f7
Restructure the AST
systay Jan 11, 2020
65a57ef
Add the visitor generator
systay Jan 11, 2020
216d49d
Add the the rewriter
systay Jan 11, 2020
6933419
Remove old visitor and replace functionality
systay Jan 11, 2020
070347d
License headers and more comments
systay Jan 15, 2020
16300d6
Add commit hook to check the visitor is in sync with the ast
systay Jan 15, 2020
a0f6a81
Make it possible to rewrite the whole AST in one go
systay Jan 13, 2020
8765802
Add column aliases when needed
systay Jan 14, 2020
b92fd33
Moved AST rewriting to be done together with Normalization
systay Jan 15, 2020
3fef779
Make sure to rewrite even when using direct target queries
systay Jan 15, 2020
38bf74d
Update tests
systay Jan 15, 2020
bd99abb
Add go generate support
systay Jan 15, 2020
b6d18b7
Removed unused code
systay Jan 17, 2020
8274354
Simplified expression rewriting
systay Jan 21, 2020
5c242d3
Clearer argument names
systay Jan 21, 2020
a8f2ea1
Make sure to not panic while rewriting
systay Jan 21, 2020
ff516c6
Merge pull request #5591 from planetscale/ss-bug-nextval
sougou Jan 21, 2020
e1dda2b
Merge pull request #5730 from neowulf/5466_mysqlctld
morgo Jan 21, 2020
fb960d6
Backup transform tests migrated to go (#5722)
princeparmar Jan 21, 2020
a17d817
helm/vitess/templates/_vtctld.tpl: Revert web_dir changes
Jan 21, 2020
d68650c
Merge pull request #5717 from planetscale/morgo-add-my-cnf-template-back
morgo Jan 21, 2020
81cb21f
Fix relay log path
morgo Jan 21, 2020
2cd6a1b
Merge pull request #5611 from systay/rewriter-mk4
sougou Jan 21, 2020
f495d27
Merge pull request #5744 from planetscale/gedgar-vtctld-web_dir-revert
morgo Jan 21, 2020
cf60a5b
Fix merge conflict
saifalharthi Jan 21, 2020
148c4c5
Merge pull request #5579 from planetscale/sa-fix-jira
sougou Jan 21, 2020
72eb7cb
add distinctrow to regular function without calling special token
Ronihe Jan 16, 2020
696a6fa
removed additional space
Ronihe Jan 16, 2020
e6504f0
Add web_dir options back so as to not break existing binaries. Option…
rohit-nayak-ps Jan 21, 2020
56de415
Fix parser
Ronihe Jan 21, 2020
0cb011e
Merge pull request #5741 from planetscale/ds-l2vtgate-cleanup
deepthi Jan 21, 2020
15472c1
Merge pull request #5747 from rohit-nayak-ps/rn-vtctld-webdir-patch
morgo Jan 22, 2020
df54e56
Merge pull request #5745 from planetscale/morgo-fix-relay-log
morgo Jan 22, 2020
844f41a
Add percona 56 new dependency
morgo Jan 23, 2020
5b761bb
Merge pull request #5754 from planetscale/morgo-fix-percona-56
sougou Jan 23, 2020
46bd544
Fix vreplication panic
sougou Jan 23, 2020
829830b
make sqlparser/parse_test.go nicer to work with
jmhodges Jan 24, 2020
fd44e6e
Merge pull request #5759 from jmhodges/parse_test
sougou Jan 24, 2020
39bccec
Merge pull request #5726 from planetscale/rh-fix-distinctrow
sougou Jan 24, 2020
725522a
correct gofmt of vtctld and re-sync go.mod
jmhodges Jan 25, 2020
123dab2
Merge pull request #5753 from planetscale/ss-vrepl-panic
deepthi Jan 27, 2020
5f87bd8
Merge pull request #5766 from jmhodges/sync
systay Jan 28, 2020
0be40e7
Added Consul and Zk2 topo support in Go Cluster endtoend tests (#5738)
ajeetj Jan 29, 2020
a577182
Backup using vtbackup endtoend test cases in Go migrated from Python …
ajeetj Jan 29, 2020
041757f
Xtrabackup endtoend test cases in GO migrated from Python (#5743)
ajeetj Jan 29, 2020
58d4813
upgrade aws-sdk-go to 1.28.8
deepthi Jan 30, 2020
0633051
remove reference to web/vtctld from Makefile
deepthi Jan 31, 2020
0657058
Fix some typos in comments
longkb Jan 31, 2020
1ce4d86
Merge pull request #5779 from longkb/fix_some_typos_in_comments
deepthi Jan 31, 2020
05b559d
Merge pull request #5777 from planetscale/ds-upgrade-aws-sdk
deepthi Jan 31, 2020
3496408
Merge pull request #5778 from planetscale/ds-rm-vtctld
deepthi Jan 31, 2020
17a806a
Fix #5776 in release branch
morgo Feb 3, 2020
9cd2ca2
Merge tag 'v5.20+20200204' of github.com:vitessio/vitess into slack-s…
ajm188 Mar 10, 2020
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
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@ java/*/target
java/*/bin
php/vendor
releases
/dist/
/py-vtdb/
/vthook/
/bin/
/vtdataroot/
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

/docker/ @derekperkins @dkhenry
/helm/ @derekperkins @dkhenry
/config/mycnf/ @morgo
/go/vt/mysqlctl/mysqld.go @morgo
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ about: If you have a question, please check out our other community resources in
Issues on GitHub are intended to be related to bugs or feature requests, so we recommend using our other community resources instead of asking here.

- [Vitess User Guide](https://vitess.io/user-guide/introduction/)
- Any other questions can be asked in the community [Slack workspace](https://bit.ly/vitess-slack)
- Any other questions can be asked in the community [Slack workspace](https://vitess.io/slack)
35 changes: 35 additions & 0 deletions .github/workflows/check_make_parser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: check_make_parser
on: [push, pull_request]
jobs:

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

- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.13

- name: Check out code
uses: actions/checkout@v2

- name: Get dependencies
run: |
sudo apt-get update
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget
sudo service mysql stop
sudo service etcd stop
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
go mod download

- name: Run make minimaltools
run: |
make minimaltools

- name: check_make_parser
run: |
tools/check_make_parser.sh

38 changes: 38 additions & 0 deletions .github/workflows/cluster_endtoend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: cluster_endtoend
on: [push, pull_request]
jobs:

build:
runs-on: ubuntu-latest
strategy:
matrix:
name: [11, 12, 13, 14, 15, 16, 17, 18, 19, 20]

steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.13

- name: Check out code
uses: actions/checkout@v2

- name: Get dependencies
run: |
sudo apt-get update
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata
sudo service mysql stop
sudo service etcd stop
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
go mod download
wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb
sudo apt-get install -y gnupg2
sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb
sudo apt-get update
sudo apt-get install percona-xtrabackup-24

- name: sharded cluster_endtoend
run: |
source build.env
eatmydata -- go run test.go -docker=false -print-log -shard ${{matrix.name}}
40 changes: 40 additions & 0 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This creates a {tar.gz,deb,rpm} file and uploads it to a release.
# To trigger this, create a new release.. but make sure that you publish
# it immediately and do not save it as a DRAFT.

name: Release
on:
release:
types: [created]

jobs:
build:
name: Create Release
runs-on: ubuntu-latest
steps:

- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.12

- name: Check out code
uses: actions/checkout@v2

- name: Get dependencies
run: |
sudo apt-get update
sudo apt-get install -y make ruby ruby-dev
go mod download
sudo gem install --no-ri --no-rdoc fpm

- name: Make Packages
run: |
./tools/make-release-packages.sh

- name: Upload Files
uses: csexton/release-asset-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
pattern: "releases/*.{tar.gz,rpm,deb}"

34 changes: 34 additions & 0 deletions .github/workflows/e2e_race.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: e2e_race
on: [push, pull_request]
jobs:

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

- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.13

- name: Check out code
uses: actions/checkout@v2

- name: Get dependencies
run: |
sudo apt-get update
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget
sudo service mysql stop
sudo service etcd stop
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
go mod download

- name: Run make minimaltools
run: |
make minimaltools

- name: e2e_race
run: |
make e2e_test_race
38 changes: 38 additions & 0 deletions .github/workflows/endtoend.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: endtoend
on: [push, pull_request]
jobs:

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

- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.13

- name: Check out code
uses: actions/checkout@v2

- name: Get dependencies
run: |
sudo apt-get update
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget
sudo service mysql stop
sudo service etcd stop
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
go mod download

- name: Run make minimaltools
run: |
make minimaltools

- name: Build
run: |
make build

- name: endtoend
run: |
tools/e2e_test_runner.sh
51 changes: 51 additions & 0 deletions .github/workflows/local_example.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: local_example
on: [push, pull_request]
jobs:

build:
name: Local Example on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

steps:

- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.13

- name: Check out code
uses: actions/checkout@v2

- name: Get dependencies
run: |
if [ ${{matrix.os}} = "ubuntu-latest" ]; then
sudo apt-get update
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata
sudo service mysql stop
sudo service etcd stop
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
elif [ ${{matrix.os}} = "macos-latest" ]; then
brew install [email protected] make unzip etcd curl git wget
fi
go mod download

- name: Run make minimaltools
run: |
make minimaltools

- name: Build
run: |
make build

- name: local_example
run: |
if [ ${{matrix.os}} = "macos-latest" ]; then
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
fi
# Make sure that testing is entirely non-reliant on config
mv config config-moved
eatmydata -- test/local_example.sh
78 changes: 78 additions & 0 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: unit
on: [push, pull_request]
jobs:

build:
runs-on: ubuntu-latest
strategy:
matrix:
name: [percona56, mysql57, mariadb101, mariadb102, mariadb103]

steps:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.13

- name: Check out code
uses: actions/checkout@v2

- name: Get dependencies
run: |
sudo apt-get update

if [ ${{matrix.name}} = "mysql57" ]; then
sudo apt-get install -y mysql-server mysql-client
else
# Uninstall likely installed MySQL first
sudo apt-get remove -y mysql-server mysql-client

if [ ${{matrix.name}} = "percona56" ]; then
sudo rm -rf /var/lib/mysql
sudo apt install -y gnupg2
wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb
sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb
sudo apt update
sudo DEBIAN_FRONTEND="noninteractive" apt-get install -y percona-server-server-5.6 percona-server-client-5.6
elif [ ${{matrix.name}} = "mysql80" ]; then
wget -c https://dev.mysql.com/get/mysql-apt-config_0.8.14-1_all.deb
echo mysql-apt-config mysql-apt-config/select-server select mysql-8.0 | sudo debconf-set-selections
sudo DEBIAN_FRONTEND="noninteractive" dpkg -i mysql-apt-config*
sudo apt-get update
sudo DEBIAN_FRONTEND="noninteractive" apt-get install -y mysql-server mysql-client
elif [ ${{matrix.name}} = "mariadb101" ]; then
sudo apt install -y mariadb-server mariadb-client
elif [ ${{matrix.name}} = "mariadb102" ]; then
sudo apt-get install -y software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.2/ubuntu bionic main'
sudo apt update
sudo DEBIAN_FRONTEND="noninteractive" apt install -y mariadb-server
elif [ ${{matrix.name}} = "mariadb103" ]; then
sudo apt-get install -y software-properties-common
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
sudo add-apt-repository 'deb [arch=amd64,arm64,ppc64el] http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.3/ubuntu bionic main'
sudo apt update
sudo DEBIAN_FRONTEND="noninteractive" apt install -y mariadb-server
fi
fi

sudo apt-get install -y make unzip g++ curl git wget ant openjdk-8-jdk eatmydata
sudo service mysql stop
sudo bash -c "echo '/usr/sbin/mysqld { }' > /etc/apparmor.d/usr.sbin.mysqld" # https://bugs.launchpad.net/ubuntu/+source/mariadb-10.1/+bug/1806263
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld || echo "could not remove mysqld profile"

mkdir -p dist bin
curl -L https://github.com/coreos/etcd/releases/download/v3.3.10/etcd-v3.3.10-linux-amd64.tar.gz | tar -zxC dist
mv dist/etcd-v3.3.10-linux-amd64/{etcd,etcdctl} bin/

go mod download

- name: Run make tools
run: |
make tools

- name: unit
run: |
eatmydata -- make test
38 changes: 38 additions & 0 deletions .github/workflows/unit_race.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: unit_race
on: [push, pull_request]
jobs:

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

- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.13

- name: Check out code
uses: actions/checkout@v2

- name: Get dependencies
run: |
sudo apt-get update
sudo apt-get install -y mysql-server mysql-client make unzip g++ curl git wget eatmydata
sudo service mysql stop
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld

mkdir -p dist bin
curl -L https://github.com/coreos/etcd/releases/download/v3.3.10/etcd-v3.3.10-linux-amd64.tar.gz | tar -zxC dist
mv dist/etcd-v3.3.10-linux-amd64/{etcd,etcdctl} bin/

go mod download

- name: Run make tools
run: |
make tools

- name: unit_race
run: |
eatmydata -- make unit_test_race
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,9 @@ releases

# Vagrant
.vagrant

/dist/
/py-vtdb
/vthook/
/bin/
/vtdataroot/
2 changes: 1 addition & 1 deletion ADOPTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ This is an alphabetical list of known adopters of Vitess. Some have already gone
* [BetterCloud](https://bettercloud.com)
* [CloudSigma](https://www.cloudsigma.com/)
* [FlipKart](https://flipkart.com)
* [GitHub](http://github.com/)
* [GitHub](https://github.com/)
* [HubSpot](https://product.hubspot.com/)
* [JD](https://jd.com/)
* [New Relic](https://newrelic.com)
Expand Down
Loading