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

Slack vitess v11.0.4.pre.v3 #241

Open
wants to merge 1,561 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1561 commits
Select commit Hold shift + click to select a range
f267c16
refactor starRewrite a little
systay Jun 17, 2021
0ff5ccc
Merge pull request #8289 from tinyspeck/am_trace_logging
ajm188 Jun 18, 2021
16b4174
Bugfix: assign cexpr.references for column CONVERTed to utf8mb4
shlomi-noach Jun 20, 2021
cf3d67f
increase vrepl suite timeout to 30min
shlomi-noach Jun 20, 2021
9bb3eb1
Merge pull request #8355 from planetscale/fix-onlineddl-vrepl-suite-u…
shlomi-noach Jun 20, 2021
0832a33
Merge remote-tracking branch 'upstream/main' into expandStar
systay Jun 20, 2021
0871184
Merge pull request #8325 from planetscale/expandStar
systay Jun 20, 2021
bfe5b7f
Merge remote-tracking branch 'upstream/main' into gen4-outer-join
systay Jun 21, 2021
4bcfc14
plan vtgate outer joins
systay Jun 21, 2021
6f2329c
Removed duplicated column in select exprs
frouioui Jun 21, 2021
8c8de7f
Initial implementation of a vstream heartbeat. Heartbeat interval nee…
rohit-nayak-ps May 26, 2021
4be08c0
Add option to specify heartbeat frequency
rohit-nayak-ps May 26, 2021
ef1fd66
Fixed one failure mode for tests. Skipped one temporarily
rohit-nayak-ps Jun 2, 2021
6cd3769
go-fmted
rohit-nayak-ps Jun 2, 2021
f08ea05
Fix failing test
rohit-nayak-ps Jun 21, 2021
c59940b
Improve error handling
rohit-nayak-ps Jun 21, 2021
3040319
Support for more outer join cases
frouioui Jun 21, 2021
8eabbf6
make it easier to see which tests gen4 is not failing correctly
systay Jun 21, 2021
dc592df
fail information_schema queries, and add one test
systay Jun 21, 2021
6227b8e
Address review comment
rohit-nayak-ps Jun 21, 2021
b5ecb0a
make it easier to see which tests gen4 is not failing correctly
systay Jun 21, 2021
9af3ae1
fail information_schema queries, and add one test
systay Jun 21, 2021
cb68830
Add test for idle heartbeats
rohit-nayak-ps Jun 21, 2021
9de37ff
Fix race in test
rohit-nayak-ps Jun 21, 2021
9712d9e
[vtctldproxy] Add more annotations to vtctld Dial calls
ajm188 Jun 16, 2021
c5c3d24
Merge pull request #8346 from tinyspeck/am_more_dial_tracing
ajm188 Jun 22, 2021
1bfab0d
tm state: don't populate metadata in updateLocked because it is calle…
deepthi Jun 22, 2021
34c3813
sks-keyservers.net seems to be finally dead, replace with
aquarapid Jun 22, 2021
f2ae541
fail aggregations we don't support yet
systay Jun 22, 2021
138e001
tweak ddl_cases_no_default_keyspace.txt expectations
systay Jun 22, 2021
db69b0c
tweaked test expectations
systay Jun 22, 2021
0e1cda1
dont plan locking functions
systay Jun 22, 2021
53bb49a
fail HAVING queries
systay Jun 22, 2021
4ef3e42
fail HAVING queries and tweak test expectations
systay Jun 22, 2021
a0768e6
don't panic
systay Jun 22, 2021
f8d79d3
move test case to the correct file
systay Jun 22, 2021
790fc21
mod: upgrade etcd
vmg Jun 22, 2021
c0bed45
Merge pull request #8357 from planetscale/vmg/etcd35
vmg Jun 22, 2021
c4a982b
ignore internal operation tables from vdiff.
makinje16 Jun 22, 2021
37ca0c9
renamed _tables
systay Jun 22, 2021
b5fb20b
removed commented out block of code.
makinje16 Jun 22, 2021
98f07de
removed unused code
systay Jun 22, 2021
3f0a02b
rename to increase understandability
systay Jun 22, 2021
0487d2a
unrename schema import.
makinje16 Jun 22, 2021
7aba63f
update test case table name.
makinje16 Jun 22, 2021
00996b8
Accidentally dropped a character
aquarapid Jun 22, 2021
8609d84
Changed test variable name for readability.
makinje16 Jun 22, 2021
94e7fd2
Merge pull request #8363 from planetscale/jg_sks_is_dead
deepthi Jun 22, 2021
7f3da8e
Merge pull request #8362 from planetscale/ds-tm-update
deepthi Jun 22, 2021
ce8882d
endtoend: change log level of etcd start from error to info
deepthi Jun 23, 2021
4385d67
Merge pull request #8292 from planetscale/jg_gatedebugenv
deepthi Jun 23, 2021
7416b90
added test for AndExpressions and fixed bug
harshit-gangal Jun 23, 2021
416104e
Update link to 'Why FK not supported in Online DDL' blog post
shlomi-noach Jun 23, 2021
95b122b
addressed review comments
harshit-gangal Jun 23, 2021
dcdd254
Merge pull request #8312 from planetscale/gen4-outer-join
systay Jun 23, 2021
8f424bc
Merge remote-tracking branch 'upstream/main' into gen4-fail-more
systay Jun 23, 2021
c12256d
updated shard_sync to explicitly abort master term whenever tablet ha…
GuptaManan100 Jun 23, 2021
dd186cf
Merge pull request #8370 from planetscale/ds-test-log
vmg Jun 23, 2021
18b335e
duplicate symbols error
systay Jun 23, 2021
5555010
make error message same as v3
systay Jun 23, 2021
5fffe91
Merge pull request #8372 from planetscale/update-fk-blog-post-url
harshit-gangal Jun 23, 2021
65e6f14
added correct scoping for table expressions in the from clause
GuptaManan100 Jun 23, 2021
9056a28
removed dead code
GuptaManan100 Jun 23, 2021
a0d663f
added test for sync shard
GuptaManan100 Jun 24, 2021
9bf8d4c
updated tests to run faster
GuptaManan100 Jun 24, 2021
d2dbb6e
Merge pull request #8359 from planetscale/gen4-fail-more
harshit-gangal Jun 24, 2021
15afd04
Marked some plan tests as Gen4 plan same as above
frouioui Jun 24, 2021
a90d88b
Stop semantic analysis on first error
frouioui Jun 24, 2021
fe89658
Plan test now allowing and checking Gen4's errors
frouioui Jun 24, 2021
9763bee
Support for Composite IN in Gen4
frouioui Jun 24, 2021
d80bb3d
Choose cheapest vindex on composite in
frouioui Jun 24, 2021
b2f4d9c
Handle tuples inside tuples for IN planning
frouioui Jun 24, 2021
5fd91f0
set the masterTime whenever we make masterAlias nil
GuptaManan100 Jun 24, 2021
85ae595
fail subqueries and use all available predicates
systay Jun 24, 2021
55b4080
dont try to handle query comments
systay Jun 24, 2021
7e3d163
handle non-select queries
systay Jun 24, 2021
7600d81
Proper unsupported error for unsupported queries
frouioui Jun 24, 2021
c2cfb0e
Resolve go.mod issue with direct dependency on planetscale/tengo
shlomi-noach Jun 24, 2021
f6e672e
Fixing ambiguous columns in analyzer and disallow projection on outer…
frouioui Jun 24, 2021
be0630b
Merge pull request #8383 from planetscale/skeema-tengo-go-mod
vmg Jun 24, 2021
bb6f419
rename variable
GuptaManan100 Jun 25, 2021
a226c70
Merge pull request #8381 from planetscale/sync-shard
harshit-gangal Jun 25, 2021
4a89e94
Add keyspace scope to vindex while creating reverse vreplication streams
rohit-nayak-ps Jun 25, 2021
e49f910
Merge pull request #8244 from planetscale/rn-vstream-heartbeat
rohit-nayak-ps Jun 25, 2021
4518c4a
OnlineDDL/Vreplicatoin stress test: increase stress so as to surface …
shlomi-noach Jun 27, 2021
253bc04
utilize -vreplication-test-suite, generate diff between _before and _…
shlomi-noach Jun 27, 2021
894b417
wait for primary pos
shlomi-noach Jun 28, 2021
4dd3766
refactor test: diff outputs, wait for migration to complete
shlomi-noach Jun 28, 2021
e62a676
Removed non-required comments
frouioui Jun 28, 2021
6dd97de
Merge pull request #8382 from planetscale/gen4-fail-more2
systay Jun 28, 2021
8b5d646
added e2e test in sharded and unsharded keyspace
harshit-gangal Jun 28, 2021
4367234
added single table reference delete query
harshit-gangal Jun 28, 2021
6f9b870
rewrite delete query with table reference for single table
harshit-gangal Jun 28, 2021
1fea7f9
fix panic for unrelated tests
harshit-gangal Jun 28, 2021
06ec6ba
Merge pull request #8393 from planetscale/delete-alias
harshit-gangal Jun 28, 2021
7ae102c
Merge pull request #8385 from planetscale/rn-scope-reverse-vrep-vindex
deepthi Jun 28, 2021
f93ed5e
[fix][2021-06-29 09:30] fix conflicts and keyword compatibility
Jun 29, 2021
e50756f
add all apply ddl query to schema list in vtexplain tablet
harshit-gangal Jun 29, 2021
770385e
Merge pull request #8397 from planetscale/vtexplain-fix
harshit-gangal Jun 29, 2021
e40989a
ci: upgrade to Go 1.16
vmg Jun 7, 2021
26107d3
docker: update bootstrap version
vmg Jun 8, 2021
e48b53d
gomod: tidy
vmg Jun 8, 2021
6c55d1d
docker: remove keys.gnupg.net dependency
vmg Jun 24, 2021
d3f3d4b
rebuild CI
vmg Jun 25, 2021
a8cb133
actions: update workflows
vmg Jun 25, 2021
bbd490c
bootstrap: update chromedriver version
vmg Jun 29, 2021
e242a14
Merge pull request #8336 from planetscale/online-ddl-vrepl-suite-chan…
shlomi-noach Jun 29, 2021
3dcee65
Merge pull request #8334 from planetscale/online-ddl-vrepl-suite-no-s…
shlomi-noach Jun 29, 2021
f873339
Merge pull request #8274 from planetscale/go1.16
vmg Jun 29, 2021
f9962f9
Initial GitHub Docker Build Setup
askdba Jun 29, 2021
60a6e4b
Do not fail workflow if there is a failure
frouioui Jun 29, 2021
cd4108a
Merge pull request #8399 from planetscale/github_docker_images
askdba Jun 29, 2021
d900e36
Revert "Initial GitHub Docker Build Setup"
askdba Jun 29, 2021
1cc955e
Merge pull request #8400 from vitessio/revert-8399-github_docker_images
askdba Jun 29, 2021
08ab77c
[grpcvtctldserver] Fix backup detail limit math
ajm188 Jun 29, 2021
a59c8a0
Merge pull request #8402 from tinyspeck/am_vtctld_backup_detail_fix
ajm188 Jun 29, 2021
cdafed4
[fix][2021-06-30 15:35] revert removing table_id_opt
Jun 30, 2021
7aa6cf7
[fix][2021-06-30 15:48] add test case
Jun 30, 2021
c221a25
[fix][2021-06-30 19:25] remove useless code
Jun 30, 2021
7803314
fuzzing: Fix coverage build
AdamKorcz Jun 9, 2021
7b7256e
Simplify build file
AdamKorcz Jun 30, 2021
570f478
[fix][2021-07-01 10:05] make parser
Jul 1, 2021
9f80fc0
Merge pull request #8366 from tinyspeck/vdiff-ignore-internal-tables
rohit-nayak-ps Jul 1, 2021
8cf50cf
Add getbackups protos and generate
ajm188 Jun 9, 2021
2ae33a2
[vtadmin-api] Add initial GetBackups implementation
ajm188 Jun 9, 2021
ab506d5
[vtadmin-api] Add http wrapper
ajm188 Jun 9, 2021
80685f7
[wip] updating cluster.GetBackups to allow filtering
ajm188 Jun 25, 2021
3372b79
Update http wrapper for getbackups with filtering
ajm188 Jun 28, 2021
d709e0c
Move fake vtctldclient so it doesn't create circular import with inte…
ajm188 Jul 1, 2021
838781c
Refactor getShardSets
ajm188 Jul 1, 2021
52ed6a4
Add tests for the shard set stuff
ajm188 Jul 1, 2021
767e0bc
Default to the more useful thing (showing details)
ajm188 Jul 1, 2021
55983e6
Merge pull request #8301 from tinyspeck/am_vtadmin_getbackups
ajm188 Jul 2, 2021
f5b2ef6
Merge pull request #8302 from AdamKorcz/exp1
systay Jul 2, 2021
123765b
Skip TestConsolidatorMemoryLimits temporarily
rohit-nayak-ps Jul 2, 2021
1c3dd05
[vtadmin-web] Add Backups view
doeg Jul 2, 2021
604b353
[vtadmin-web] Add getStream util + tune refetch intervals
doeg Jun 18, 2021
1851dd0
[vtadmin-web] Disable refetchOnWindowFocus by default
doeg Jun 18, 2021
ae5b08a
Replace t.Logf with log.Infof, to avoid confusing red colored logs in…
rohit-nayak-ps Jul 2, 2021
7a7d853
Merge pull request #8409 from tinyspeck/sarabee-vtadmin-backups-ui
ajm188 Jul 2, 2021
9aafa5c
Merge pull request #8352 from tinyspeck/sarabee-vtadmin-stream-janito…
ajm188 Jul 2, 2021
caf0da5
go.mod: upgrade prometheus, grpc, and protobuf
derekperkins Jul 4, 2021
2459b06
Merge pull request #8395 from oops-lgtm/keyword-compatilibity
harshit-gangal Jul 5, 2021
93875fe
v11 deprecation message for Online DDL specific commands
shlomi-noach Jul 6, 2021
b3f8435
Merge pull request #8414 from planetscale/onlineddl-depracation-messa…
shlomi-noach Jul 6, 2021
94da78c
Merge pull request #8411 from derekperkins/upgrade-prometheus
vmg Jul 6, 2021
273b789
Merge pull request #8404 from planetscale/rn-ci-test
systay Jul 6, 2021
dd2a551
add release notes for all the versions
systay Jul 6, 2021
8a39067
Merge pull request #8415 from planetscale/release-notes
systay Jul 6, 2021
740c379
Release commit for 11.0.0-rc1
frouioui Jul 6, 2021
107af52
Back to dev mode
frouioui Jul 6, 2021
b1629c4
Merge pull request #8390 from planetscale/online-ddl-vrepl-stress-int…
shlomi-noach Jul 6, 2021
130cf4a
Enhance k8stopo flag documentation
jmoldow Jul 13, 2021
fc4bd54
Merge pull request #8458 from jmoldow/fix-topo_k8s_docs
deepthi Jul 13, 2021
d4bf38c
fixed function call in default value of a column and added tests
GuptaManan100 Jul 14, 2021
2c416fa
specify collate earlier in command because parser for now expects it so
GuptaManan100 Jul 15, 2021
94d3d54
Merge pull request #8476 from planetscale/function-call-default-11.0
harshit-gangal Jul 15, 2021
0d56514
Fixing multiple issues related to onlineddl/lifecycle: - stale migrat…
shlomi-noach Jul 20, 2021
b0a094d
Merge pull request #8517 from planetscale/onlineddl-stale-migration-c…
deepthi Jul 23, 2021
35e0dd4
Change local example to use v2 vreplication flows
rohit-nayak-ps Jun 27, 2021
02f2a7a
Merge pull request #8527 from planetscale/rn-local-example-v2-11.0
shlomi-noach Jul 25, 2021
3e2206d
default should not add paranthesis for boolean values
GuptaManan100 Jul 20, 2021
0abe768
Merge pull request #8531 from planetscale/default-bool-11
systay Jul 26, 2021
b8f1195
OnlineDDL: SHOW VITESS_MIGRATION ... LOGS
shlomi-noach Jul 26, 2021
8351c4e
Removed ShowMigrationLogs primitive. Now using plain Send
shlomi-noach Jul 26, 2021
810c792
Merge pull request #8532 from planetscale/onlineddl-show-vitess-migra…
shlomi-noach Jul 26, 2021
5497bad
Add metric to measure how often a picker doesn't find tablets to stre…
rohit-nayak-ps Jun 30, 2021
bad4a9b
Ignore SBR statements from pt-table-checksum
rohit-nayak-ps Jun 29, 2021
5687384
check for topo.Error before clearing the cache value
harshit-gangal May 26, 2021
1e6cf0f
added an end to end test for testing the change and fixed consul startup
GuptaManan100 May 26, 2021
b528506
reload test has both the tests
harshit-gangal May 27, 2021
d226399
check for topo.Error and not *topo.Error, fix unit test to send the c…
harshit-gangal May 27, 2021
2444bd7
changed default server port in consul setup to allow running multiple…
GuptaManan100 May 27, 2021
b8d4ab0
added bind address to consul args
harshit-gangal May 27, 2021
78486ee
increase timeout
harshit-gangal May 27, 2021
cb71762
Fix vreplication error metric
rohit-nayak-ps Jul 16, 2021
3723a87
Return from throttler goroutine if context is cancelled to prevent go…
rohit-nayak-ps Jul 17, 2021
b9478f0
even more check for ctx.Done()
shlomi-noach Jul 17, 2021
807c67b
Add BIT datatype to list of byte comparable types
rohit-nayak-ps Jun 29, 2021
75df633
Delete consistent lookup test for BIT datatypes since it is now compa…
rohit-nayak-ps Jun 30, 2021
0c4e5e5
Log error output from CreateKeyspace, which seems to randomly fail in CI
rohit-nayak-ps Jul 2, 2021
8bd4e35
Truncate logs and db log messages to prevent huge failing queries spa…
rohit-nayak-ps Jul 22, 2021
a63bceb
Merge pull request #8533 from planetscale/topo-qs-fix-11
harshit-gangal Jul 26, 2021
cc2de83
Merge pull request #8536 from planetscale/rn-8403-release-11
rohit-nayak-ps Jul 26, 2021
2a7b4be
disable allowing set statements on system settings by default
harshit-gangal Jul 26, 2021
82ae37c
Merge pull request #8540 from planetscale/sys-set-disable
systay Jul 27, 2021
aa798b8
Release commit for 11.0.0
askdba Jul 27, 2021
80598cc
Back to dev mode
askdba Jul 27, 2021
65ad196
Merge pull request #8549 from planetscale/at-release-11.0.0
askdba Jul 27, 2021
a43d572
Copy parameter data from byte buffer in COM_STMT_SEND_LONG_DATA
harshit-gangal Jun 9, 2021
3c7d14f
Handle subquery merging with references correctly
systay Aug 23, 2021
b7cc1d1
Merge pull request #8661 from planetscale/fix-8638-in-11
systay Aug 23, 2021
af29ac6
onlineddl Executor: build schema with DBA user
shlomi-noach Aug 12, 2021
b102017
Refresh SrvVSchema after an ExternalizeVindex: was missing
rohit-nayak-ps Jun 23, 2021
4d994df
Merge pull request #8667 from planetscale/ds-backport-8624
deepthi Aug 23, 2021
e59d3ce
Merge pull request #8669 from planetscale/ds-port-8373-to-11
deepthi Aug 23, 2021
ed2c407
Make it clearer which GTIDSet we are using.
aquarapid Jun 12, 2021
e79d0b2
The difference between two identical GTIDSet values should be empty, not
aquarapid Jun 12, 2021
b354ba6
We use a sentinel file to avoid replication being restarted
aquarapid Jun 12, 2021
0103fa1
Add additional logging for most of the tablet replication RPC endpoints,
aquarapid Jun 12, 2021
bde5f7f
Add test for a series of trivial ERS failovers to catch problems like
aquarapid Jun 15, 2021
027d616
Addition of an end-to-end test to reproduce the panic of #8694
frouioui Aug 30, 2021
6e97c45
Avoiding panic in RenameFields.renameFields method
frouioui Aug 30, 2021
10630c5
Merge pull request #8744 from planetscale/jg_ers_11
deepthi Aug 31, 2021
93a5e93
Improved 8694 E2E test and for loop in renameFields
frouioui Aug 31, 2021
5e5e8c0
Fixing renameFields for loop logic
frouioui Sep 1, 2021
59207f4
Fixed loop logic erro
frouioui Sep 1, 2021
bcd3534
added a fields len check in rename_fields engine to avoid renamefield…
harshit-gangal Sep 2, 2021
6e046d7
default to primary tablet if not set
harshit-gangal Sep 1, 2021
e272029
Merge pull request #8766 from planetscale/fix-8676-in-11
harshit-gangal Sep 6, 2021
e972eea
Merge pull request #8746 from planetscale/fix-8694-in-11
harshit-gangal Sep 6, 2021
08b8cb1
Updated Makefile do_release script to include godoc steps
frouioui Jul 27, 2021
88217f1
Merge pull request #8787 from planetscale/go-tags-release-to-11
askdba Sep 9, 2021
92ac1ff
Release commit for 11.0.1
askdba Sep 9, 2021
0b13575
Back to dev mode
askdba Sep 9, 2021
9816e66
Merge pull request #8788 from planetscale/at-release-11.0.1
askdba Sep 9, 2021
9341a95
fix how we identify a generated column
tokikanno Sep 3, 2021
e8be8b8
Merge pull request #8796 from vitessio/BackportPR8763To11.0
deepthi Sep 13, 2021
d0168ff
Fixed regression for grouping by integer functions
systay Sep 22, 2021
584f92d
Merge pull request #8866 from planetscale/backport-of-8856-to-11
GuptaManan100 Sep 23, 2021
4559f1d
Merge pull request #8730 from vitessio/TestVReplCharColWBinaryCollation
sougou Oct 7, 2021
dff689c
Merge pull request #8957 from planetscale/Backport8730-11.0
deepthi Oct 8, 2021
b45b7bb
build(deps): bump log4j-api from 2.13.3 to 2.15.0 in /java
dependabot[bot] Dec 10, 2021
d9783a4
CI: ubuntu-latest already has MySQL 8.0, don't try to install it
deepthi Dec 13, 2021
e839084
CI: Install latest MySQL 8.0
deepthi Dec 13, 2021
8732ef0
CI: some tests don't need MySQL installed, for others, let's install …
deepthi Dec 13, 2021
73d394b
Merge pull request #9374 from planetscale/fp-backport-ci-build-11
frouioui Dec 14, 2021
afce07d
Merge remote-tracking branch 'upstream/release-11.0' into fp-backport…
frouioui Dec 14, 2021
4199080
Merge pull request #9364 from planetscale/fp-backport-log4j-11
frouioui Dec 14, 2021
4f80587
Release commit for 11.0.2
frouioui Dec 14, 2021
73338de
Back to dev mode
frouioui Dec 14, 2021
9329e6e
Merge pull request #9378 from planetscale/fp-release-11.0.2
deepthi Dec 16, 2021
eab6784
build(deps): bump log4j-core from 2.15.0 to 2.16.0 in /java
dependabot[bot] Dec 14, 2021
2c0007f
Merge pull request #9395 from planetscale/fp-backport-log4j-1.16-11
deepthi Dec 16, 2021
5e8f674
fix: change tagged docker images in the operator example to use v11.0.3
frouioui Dec 16, 2021
5013cb6
Merge pull request #9403 from planetscale/fp-change-vtop-example-11
askdba Dec 17, 2021
2412024
Release commit for 11.0.3
frouioui Dec 17, 2021
44b9136
Back to dev mode
frouioui Dec 17, 2021
8251a77
Merge pull request #9412 from planetscale/fp-release-11.0.3
frouioui Dec 17, 2021
e97501a
updated the 11_0 release documents with latest known issues
frouioui Dec 17, 2021
b590b83
empty commit
frouioui Dec 20, 2021
511cb8c
build(deps): bump log4j-api from 2.16.0 to 2.17.0 in /java
dependabot[bot] Dec 18, 2021
51b706d
Bump to latest version again
dbussink Jan 4, 2022
3560a65
Merge pull request #9464 from planetscale/fp-backport-log4j-2.17-to-11.0
frouioui Jan 5, 2022
5f41ad4
updated 11.0 release notes with latest log4j information and more exp…
frouioui Jan 5, 2022
47cbc22
Merge pull request #9421 from planetscale/fp-update-11.0-docs
askdba Jan 10, 2022
cb142ee
Release commit for 11.0.4
frouioui Jan 10, 2022
508c12e
resolves merge conflicts
vmogilev Mar 7, 2022
91de71c
adds 467B942D3A79BD29 key to CI tests
vmogilev Mar 9, 2022
7420340
testing with newer grpc library
ameetkotian Mar 29, 2022
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
  •  
  •  
  •  
17 changes: 4 additions & 13 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!--
Thank you for your contribution to the Vitess project.
How to contribute: https://vitess.io/docs/contributing/
Please first make sure there is an open Issue to discuss the feature/fix suggested in this PR.
If this is a new feature, please mark the Issue as "RFC".
Expand All @@ -8,25 +9,15 @@

## Description
<!-- A few sentences describing the overall goals of the pull request's commits. -->
<!-- If this is a bug fix and you think the fix should be backported, please write so. -->

## Related Issue(s)
<!-- List related issues and pull requests: -->
<!-- List related issues and pull requests. If this PR fixes an issue, please add it using Fixes #???? -->

-

## Checklist
- [ ] Should this PR be backported?
- [ ] Tests were added or are not required
- [ ] Documentation was added or is not required

## Deployment Notes
<!-- Notes regarding deployment of the contained body of work. These should note any db migrations, etc. -->

## Impacted Areas in Vitess
Components that this PR will affect:

- [ ] Query Serving
- [ ] VReplication
- [ ] Cluster Management
- [ ] Build/CI
- [ ] VTAdmin
<!-- Notes regarding deployment of the contained body of work. These should note any db migrations, etc. -->
14 changes: 12 additions & 2 deletions .github/workflows/check_formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,23 @@ jobs:

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

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

- name: Tune the OS
run: |
echo '1024 65535' | sudo tee -a /proc/sys/net/ipv4/ip_local_port_range

# TEMPORARY WHILE GITHUB FIXES THIS https://github.com/actions/virtual-environments/issues/3185
- name: Add the current IP address, long hostname and short hostname record to /etc/hosts file
run: |
echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
# DON'T FORGET TO REMOVE CODE ABOVE WHEN ISSUE IS ADRESSED!

- name: Check out code
uses: actions/checkout@v2
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/check_make_parser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,26 @@ jobs:

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

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

- name: Tune the OS
run: |
echo '1024 65535' | sudo tee -a /proc/sys/net/ipv4/ip_local_port_range

- 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 apt-get install -y make unzip g++ etcd curl git wget
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
Expand Down
43 changes: 22 additions & 21 deletions .github/workflows/check_make_sizegen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,31 @@ jobs:
name: Check Make Sizegen
runs-on: ubuntu-latest
steps:

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

- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.15
- name: Tune the OS
run: |
echo '1024 65535' | sudo tee -a /proc/sys/net/ipv4/ip_local_port_range

- name: Check out code
uses: actions/checkout@v2
- 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: Get dependencies
run: |
sudo apt-get update
sudo apt-get install -y make unzip g++ etcd curl git wget
sudo service etcd stop
go mod download

- name: Run make minimaltools
run: |
make minimaltools
- name: Run make minimaltools
run: |
make minimaltools

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

13 changes: 7 additions & 6 deletions .github/workflows/check_make_visitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,26 @@ jobs:

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

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

- name: Tune the OS
run: |
echo '1024 65535' | sudo tee -a /proc/sys/net/ipv4/ip_local_port_range

- 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 apt-get install -y make unzip g++ etcd curl git wget
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
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/cluster_endtoend_11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.15
go-version: 1.16

- name: Tune the OS
run: |
echo '1024 65535' | sudo tee -a /proc/sys/net/ipv4/ip_local_port_range
# Increase the asynchronous non-blocking I/O. More information at https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_use_native_aio
echo "fs.aio-max-nr = 1048576" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf

# TEMPORARY WHILE GITHUB FIXES THIS https://github.com/actions/virtual-environments/issues/3185
- name: Add the current IP address, long hostname and short hostname record to /etc/hosts file
Expand All @@ -29,8 +32,11 @@ jobs:

- name: Get dependencies
run: |
# Get key to latest MySQL repo
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29

sudo apt-get update
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata xz-utils
sudo service mysql stop
sudo service etcd stop
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/cluster_endtoend_12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.15
go-version: 1.16

- name: Tune the OS
run: |
echo '1024 65535' | sudo tee -a /proc/sys/net/ipv4/ip_local_port_range
# Increase the asynchronous non-blocking I/O. More information at https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_use_native_aio
echo "fs.aio-max-nr = 1048576" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf

# TEMPORARY WHILE GITHUB FIXES THIS https://github.com/actions/virtual-environments/issues/3185
- name: Add the current IP address, long hostname and short hostname record to /etc/hosts file
Expand All @@ -29,8 +32,11 @@ jobs:

- name: Get dependencies
run: |
# Get key to latest MySQL repo
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29

sudo apt-get update
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata xz-utils
sudo service mysql stop
sudo service etcd stop
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/cluster_endtoend_13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.15
go-version: 1.16

- name: Tune the OS
run: |
echo '1024 65535' | sudo tee -a /proc/sys/net/ipv4/ip_local_port_range
# Increase the asynchronous non-blocking I/O. More information at https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_use_native_aio
echo "fs.aio-max-nr = 1048576" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf

# TEMPORARY WHILE GITHUB FIXES THIS https://github.com/actions/virtual-environments/issues/3185
- name: Add the current IP address, long hostname and short hostname record to /etc/hosts file
Expand All @@ -29,8 +32,11 @@ jobs:

- name: Get dependencies
run: |
# Get key to latest MySQL repo
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29

sudo apt-get update
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata xz-utils
sudo service mysql stop
sudo service etcd stop
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/cluster_endtoend_14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.15
go-version: 1.16

- name: Tune the OS
run: |
echo '1024 65535' | sudo tee -a /proc/sys/net/ipv4/ip_local_port_range
# Increase the asynchronous non-blocking I/O. More information at https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_use_native_aio
echo "fs.aio-max-nr = 1048576" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf

# TEMPORARY WHILE GITHUB FIXES THIS https://github.com/actions/virtual-environments/issues/3185
- name: Add the current IP address, long hostname and short hostname record to /etc/hosts file
Expand All @@ -29,8 +32,11 @@ jobs:

- name: Get dependencies
run: |
# Get key to latest MySQL repo
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29

sudo apt-get update
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata xz-utils
sudo service mysql stop
sudo service etcd stop
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/cluster_endtoend_15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.15
go-version: 1.16

- name: Tune the OS
run: |
echo '1024 65535' | sudo tee -a /proc/sys/net/ipv4/ip_local_port_range
# Increase the asynchronous non-blocking I/O. More information at https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_use_native_aio
echo "fs.aio-max-nr = 1048576" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf

# TEMPORARY WHILE GITHUB FIXES THIS https://github.com/actions/virtual-environments/issues/3185
- name: Add the current IP address, long hostname and short hostname record to /etc/hosts file
Expand All @@ -29,8 +32,11 @@ jobs:

- name: Get dependencies
run: |
# Get key to latest MySQL repo
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29

sudo apt-get update
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata xz-utils
sudo service mysql stop
sudo service etcd stop
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/cluster_endtoend_16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.15
go-version: 1.16

- name: Tune the OS
run: |
echo '1024 65535' | sudo tee -a /proc/sys/net/ipv4/ip_local_port_range
# Increase the asynchronous non-blocking I/O. More information at https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_use_native_aio
echo "fs.aio-max-nr = 1048576" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf

# TEMPORARY WHILE GITHUB FIXES THIS https://github.com/actions/virtual-environments/issues/3185
- name: Add the current IP address, long hostname and short hostname record to /etc/hosts file
Expand All @@ -29,8 +32,11 @@ jobs:

- name: Get dependencies
run: |
# Get key to latest MySQL repo
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29

sudo apt-get update
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata xz-utils
sudo service mysql stop
sudo service etcd stop
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/cluster_endtoend_17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v1
with:
go-version: 1.15
go-version: 1.16

- name: Tune the OS
run: |
echo '1024 65535' | sudo tee -a /proc/sys/net/ipv4/ip_local_port_range
# Increase the asynchronous non-blocking I/O. More information at https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_use_native_aio
echo "fs.aio-max-nr = 1048576" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf

# TEMPORARY WHILE GITHUB FIXES THIS https://github.com/actions/virtual-environments/issues/3185
- name: Add the current IP address, long hostname and short hostname record to /etc/hosts file
Expand All @@ -29,8 +32,11 @@ jobs:

- name: Get dependencies
run: |
# Get key to latest MySQL repo
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29

sudo apt-get update
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata
sudo apt-get install -y mysql-server mysql-client make unzip g++ etcd curl git wget eatmydata xz-utils
sudo service mysql stop
sudo service etcd stop
sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
Expand Down
Loading