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

slack vitess v10.pre #228

Merged
merged 2,028 commits into from
Jul 21, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2028 commits
Select commit Hold shift + click to select a range
5397668
added a test for error in return type as well
GuptaManan100 Mar 23, 2021
cd7add1
split ast_helper into individual gen files
harshit-gangal Mar 23, 2021
ab90584
Merge pull request #7727 from planetscale/rewriter-closure
systay Mar 23, 2021
e1f6b15
Merge pull request #7724 from tinyspeck/am_vtadmin_vtexplain_lock
rohit-nayak-ps Mar 23, 2021
97aab06
VStream API: Added stream alignment to minimize skew between the diffโ€ฆ
rohit-nayak-ps Mar 6, 2021
00dcf5e
VStream Skew: Fix race
rohit-nayak-ps Mar 7, 2021
679fa26
VStream Skew: hold mutex while checking if stream needs to be paused
rohit-nayak-ps Mar 11, 2021
8f39f90
VStream Skew: update vstream client api to accept flags
rohit-nayak-ps Mar 11, 2021
3dbae71
VStream Skew: fix tests
rohit-nayak-ps Mar 12, 2021
2d356a6
CurrentTime in binlogevent is in nanoseconds, fixed
rohit-nayak-ps Mar 23, 2021
1982137
use vterrors instead of fmt.error
systay Mar 23, 2021
7313a96
show columns query on system schema
harshit-gangal Mar 23, 2021
24732d9
Merge pull request #7678 from planetscale/order-by
systay Mar 23, 2021
ad51f71
make sure to handle subqueries on top of subqueries
systay Mar 23, 2021
13cd23f
persisting vttestserver container
hkdsun Mar 18, 2021
08cdfe1
add mysql57 and mysql80 vttestserver makefile rules
hkdsun Mar 22, 2021
9b09bfa
Merge pull request #7729 from planetscale/more-sys-fix
harshit-gangal Mar 23, 2021
fa98b7a
fix test setup and teardown in vttestserver_test.go
hkdsun Mar 23, 2021
6a1c5cf
Remove old method, rename new method to match, and docs docs docs
ajm188 Mar 23, 2021
0698a01
use persistent mode in vttestserver e2e test
hkdsun Mar 23, 2021
dd6c1ab
Add cluster-level GetSchema tests for size aggregation
ajm188 Mar 24, 2021
65d8153
Update existing api tests for GetSchema(s)/FindSchema, remove dead code
ajm188 Mar 24, 2021
0fec0b9
Merge pull request #7660 from AdamKorcz/fuzz1
systay Mar 24, 2021
e8b1db3
added planbuilder test case
harshit-gangal Mar 24, 2021
d58b562
get any keyspace if system schema is default keyspace
harshit-gangal Mar 24, 2021
dd30d84
added e2e test
harshit-gangal Mar 24, 2021
92584e9
Merge pull request #7718 from Shopify/persistent-vttest
deepthi Mar 24, 2021
13908c0
Thread sizeopts through all vtadmin schema endpoints
ajm188 Mar 25, 2021
d7498e2
Update http adapters to grab sizeopts out of the query params
ajm188 Mar 25, 2021
afb28a6
added a null field to the ast
GuptaManan100 Mar 25, 2021
e0675a1
added a test for multiple null and not null specified in the same colโ€ฆ
GuptaManan100 Mar 25, 2021
1ee529d
converted strings to ColIdents and TableIdents in names of databases โ€ฆ
GuptaManan100 Mar 25, 2021
57f4689
added a test
GuptaManan100 Mar 25, 2021
0fb8826
added a comment
GuptaManan100 Mar 25, 2021
a78e5ab
added information_Schema query on prepare statement
harshit-gangal Mar 25, 2021
b2a1e3b
Add tools.go
epk Mar 25, 2021
9c8d430
Fix make proto
epk Mar 25, 2021
30ca76d
check error before returning
systay Mar 25, 2021
ff618a2
Merge pull request #7730 from planetscale/subquery-w-subquery
systay Mar 25, 2021
c940290
Merge pull request #7517 from epk/epk/go-tools
sougou Mar 25, 2021
93fe937
SHOW VITESS_MIGRATIONS are unaffected by -enable_online_ddl
shlomi-noach Mar 25, 2021
b85c7dd
grpcvtgateconn: Add fuzzer
AdamKorcz Mar 15, 2021
51e2651
examples: source correct shell script in README
deepthi Mar 25, 2021
9c7b5ee
Merge pull request #7749 from planetscale/ds-update-readme
deepthi Mar 25, 2021
4d6bbf9
Add test for multi-cluster GetSchema size-aggr
ajm188 Mar 26, 2021
ee5cb86
Merge pull request #7745 from planetscale/constraint-name
harshit-gangal Mar 26, 2021
607fbb2
fix unit test expectation
harshit-gangal Mar 26, 2021
2092902
Merge branch 'master' into nullable-timestamp
harshit-gangal Mar 26, 2021
1f108c1
Merge pull request #7626 from planetscale/rn_vstream_skew
rohit-nayak-ps Mar 26, 2021
f06582f
Add size aggr test case for FindSchema
ajm188 Mar 26, 2021
30edd7d
Add sizeaggr test case for GetSchemas
ajm188 Mar 26, 2021
2167d89
Add vtorc binary for rpm,deb builds
askdba Mar 26, 2021
be136d8
nits: whitespace, replace stub log lines
ajm188 Mar 26, 2021
96dd734
Merge pull request #7750 from planetscale/add_vtorc_binary
deepthi Mar 26, 2021
6de47eb
Refactor `FindAllShardsInKeyspace` to a cluster-level method
ajm188 Mar 27, 2021
9faabaf
Appease everybody
falun Mar 27, 2021
8d62d21
Add comments + 'options' parameter to API hooks
doeg Mar 27, 2021
39a7eae
Extract helper function for collecting tabletsToQuery for GetSchema
ajm188 Mar 28, 2021
9777f0d
Extract helper function for orchestrating the per-tablet GetSchema rpcs
ajm188 Mar 28, 2021
9d5a725
Remove IncludeNonServingShards from TableSizeOptions
ajm188 Mar 28, 2021
13e7372
Merge pull request #7754 from tinyspeck/sarabee-vtadmin-web-hooks-nits
rohit-nayak-ps Mar 28, 2021
db26e63
PR feedback around naming, logging, and error handling
ajm188 Mar 28, 2021
583e5ad
Merge pull request #7734 from planetscale/fix-sys-dual
systay Mar 29, 2021
7e41670
Add Andrew Mason to Maintainers List
askdba Mar 29, 2021
0b8ad1a
Merge pull request #7757 from planetscale/maintainers_amason
askdba Mar 29, 2021
22bb5e4
Add common max-width to infrastructure table views
doeg Mar 29, 2021
92fd953
Merge pull request #7760 from tinyspeck/sarabee-vtadmin-web-app-width
ajm188 Mar 29, 2021
67b3f33
Merge pull request #7712 from falun/rulesctl-v0
ajm188 Mar 29, 2021
70626f7
replaced 2 bools with a *bool
GuptaManan100 Mar 30, 2021
2fcfe29
Merge pull request #7740 from planetscale/nullable-timestamp
systay Mar 30, 2021
b5177cd
Merge pull request #7689 from AdamKorcz/fuzz2
systay Mar 30, 2021
f19140a
fix e2e test
harshit-gangal Mar 30, 2021
3271f90
fixed bug that prevented creation of logs
GuptaManan100 Mar 30, 2021
586887c
Merge pull request #7761 from planetscale/log-creation
deepthi Mar 30, 2021
d442056
Add getWorkflows hook(s)
doeg Mar 30, 2021
5197965
Add /workflows skeleton view
doeg Mar 30, 2021
44af49d
added bigint unsigned test using system schema query in mysql e2e test
harshit-gangal Mar 30, 2021
5476ade
added bigint unsigned test using system schema query in tabletserver โ€ฆ
harshit-gangal Mar 30, 2021
5d9f513
added bigint unsigned test using system schema query in vtgate e2e test
harshit-gangal Mar 30, 2021
9398b27
addressed review comments
harshit-gangal Mar 30, 2021
415f376
Merge pull request #7703 from planetscale/ds-fix-7576
deepthi Mar 30, 2021
a5967fe
Fix workflows sort
doeg Mar 30, 2021
dd1324d
Use 'n/a' instead of '-' as workflow keyspace placeholder (for now)
doeg Mar 30, 2021
f1ec52c
Merge pull request #7762 from tinyspeck/sarabee-vtadmin-web-workflowsโ€ฆ
ajm188 Mar 30, 2021
20051c8
fix assert for 5.7
harshit-gangal Mar 31, 2021
d0bea78
fix unit test in mysql e2e
harshit-gangal Mar 31, 2021
c3736bc
Merge pull request #7746 from planetscale/prepare-sysschema
harshit-gangal Mar 31, 2021
4decb82
fix unit test in tabletserver e2e
harshit-gangal Mar 31, 2021
52500c2
java:update guava dependency to 30.1.1
harshit-gangal Mar 31, 2021
095348a
Add 'useWorkflow' hook + skeleton /workflow view
doeg Mar 31, 2021
4f41677
Merge pull request #7763 from planetscale/bigint-unsigned
harshit-gangal Mar 31, 2021
c0e8d81
Link to /workflow/... from /workflows
doeg Mar 31, 2021
26ae386
Define initialData for the useWorkflow hook
doeg Mar 31, 2021
2fcec54
Add unit tests for useWorkflow caching behaviour
doeg Mar 31, 2021
b6a8acb
Merge pull request #7751 from tinyspeck/am_vtadmin_aggregate_schema_sโ€ฆ
rafael Mar 31, 2021
508b95a
mysql_fuzzer: Make more calls during each iteration
AdamKorcz Mar 31, 2021
4b45a47
disable field caching in vttestserver
harshit-gangal Mar 31, 2021
d9a8b52
added e2e test using vtcombo
harshit-gangal Mar 31, 2021
3e5f73e
[vtadmin] GetSchema(s) should always check keyspace field when filterโ€ฆ
ajm188 Apr 1, 2021
6f2ea36
merge master, resolve conflict
shlomi-noach Apr 1, 2021
016901d
make sure to not log sensitive information
systay Apr 1, 2021
faa1a96
go mod tidy
shlomi-noach Apr 1, 2021
4fd3140
addressed review comments
harshit-gangal Apr 1, 2021
d5c10af
vtctl ApplySchema supports '-request_context' flag
shlomi-noach Apr 1, 2021
f59674b
fix linting
harshit-gangal Apr 1, 2021
ee18713
Merge pull request #7774 from planetscale/redact-log
harshit-gangal Apr 1, 2021
8b8e502
Merge pull request #7764 from planetscale/guava-update
shlomi-noach Apr 1, 2021
1a4d599
comment fixes per review
shlomi-noach Apr 1, 2021
6104508
Merge pull request #7773 from tinyspeck/am_vtadmin_getschemas_tabletfโ€ฆ
ajm188 Apr 1, 2021
900b0f8
Merge pull request #7767 from tinyspeck/sarabee-vtadmin-web-workflow-โ€ฆ
ajm188 Apr 1, 2021
3204350
added fk executor test
harshit-gangal Apr 1, 2021
49289ea
Add a hasty filter input to the /schemas view
doeg Apr 1, 2021
845b043
added foreign key flag and added method in ContextVschema
harshit-gangal Apr 1, 2021
cbe5f8c
added logic to error on fk constraint if set to disallow
harshit-gangal Apr 1, 2021
374ff57
Merge pull request #7779 from tinyspeck/sarabee-vtadmin-web-schema-fiโ€ฆ
ajm188 Apr 1, 2021
3f3ed36
Merge pull request #7768 from planetscale/vttest-field-caching
deepthi Apr 1, 2021
9a88668
addressed review comments to change flag to foreign_key_mode
harshit-gangal Apr 4, 2021
c3c56ba
addressed review comments
harshit-gangal Apr 4, 2021
7a38317
Merge pull request #7780 from planetscale/restrict-fkey
harshit-gangal Apr 4, 2021
95ca0f8
Merge pull request #7725 from planetscale/online-ddl-idempotent
shlomi-noach Apr 5, 2021
e053443
Merge pull request #7766 from AdamKorcz/fuzz21
systay Apr 5, 2021
21aa4c4
10_0_RC1 Release Notes
askdba Apr 5, 2021
244d943
Merge pull request #7694 from planetscale/vtgate-enable-online-ddl-flag
shlomi-noach Apr 5, 2021
9452942
Update version.go
askdba Apr 5, 2021
eae01ce
Merge pull request #7777 from planetscale/apply-schema-custom-context
shlomi-noach Apr 6, 2021
ad37320
v10.0.RC1 updates
askdba Apr 6, 2021
29a494f
Merge pull request #7786 from planetscale/10_0_RC1_release_notes
shlomi-noach Apr 6, 2021
34d9f95
make: build vitess as static binaries by default
vmg Apr 6, 2021
1344906
Merge pull request #7808 from vmg/vmg/static-10
deepthi Apr 8, 2021
8331e03
Add vtctldclient in binary packages
askdba Apr 18, 2021
b32a46a
Merge branch 'release-10.0' of https://github.com/vitessio/vitess intโ€ฆ
askdba Apr 18, 2021
b1f9ae9
backport: upgrade tests vs v9 (#7899)
shlomi-noach Apr 21, 2021
13e33bb
default to false for system settings to be changed per session at theโ€ฆ
harshit-gangal Apr 22, 2021
654db52
java: prepare java version for release 10.0
harshit-gangal Apr 22, 2021
ffd8630
vtctl: return error on invalid ddl_strategy
shlomi-noach Apr 22, 2021
f5c2cbb
Squashed backport of https://github.com/vitessio/vitess/pull/7903
systay Apr 20, 2021
c25c0e8
Merge pull request #7921 from planetscale/disable-sys-var
harshit-gangal Apr 22, 2021
889406d
Merge pull request #7924 from planetscale/vtctl-invalid-ddl-strategy-v10
shlomi-noach Apr 22, 2021
a2a5d54
Update rowlog for the API change made for the vstream skew alignment โ€ฆ
rohit-nayak-ps Apr 8, 2021
1901e8e
squashed backport of PR 7879
harshit-gangal Apr 22, 2021
a67fd8f
Fix bug in vtgate when running with keyspace filtering (#199)
setassociative Apr 15, 2021
9fb0a1e
Add new test to prevent keyspaces_to_watch regression
setassociative Apr 15, 2021
d9b66cb
resolve lint / dead code error
setassociative Apr 16, 2021
3091658
remove unused import
setassociative Apr 16, 2021
2e289f8
vcursor: better error message
deepthi Apr 22, 2021
0353021
Check tablet alias before removing after error stream
5antelope Apr 21, 2021
a7cfe60
Only modify healthy map
5antelope Apr 21, 2021
3e23846
First cut at allowing modification of tablet unhealthy_threshold via
aquarapid Mar 27, 2021
4b729a8
Swap out uber/atomic with sync2
aquarapid Apr 6, 2021
78ba1b4
Actually remove the uber/atomic dep.
aquarapid Apr 6, 2021
d04ee7d
Merge pull request #7890 from planetscale/backport_7809
deepthi Apr 22, 2021
a94c1fe
Merge pull request #7927 from planetscale/release-10-stream-ms-fix
deepthi Apr 22, 2021
b8d830f
Merge pull request #7935 from planetscale/bp-7879
deepthi Apr 22, 2021
2ad770e
Merge pull request #7936 from planetscale/ds-backport-7873
askdba Apr 23, 2021
5c07e03
Merge pull request #7937 from planetscale/ds-backport-7915
askdba Apr 23, 2021
ed16cdd
Merge pull request #7938 from planetscale/backport-7753-10.0
askdba Apr 23, 2021
48dccf5
Merge pull request #7922 from planetscale/java-r10
harshit-gangal Apr 27, 2021
b063564
Post GA update
askdba May 3, 2021
64b781e
make sure to show that this is not a release
systay May 3, 2021
bc7e785
Merge pull request #8023 from planetscale/release-10.0-naming
systay May 3, 2021
8b0eae4
Fixed encoding of sql strings and added a test for it
GuptaManan100 May 4, 2021
c544162
Added release script to the makefile
systay May 4, 2021
fe422bb
Merge pull request #8030 from planetscale/release-script
askdba May 4, 2021
f7304cd
Release commit for 10.0.1
askdba May 4, 2021
431eb99
Back to dev mode
askdba May 4, 2021
374d450
Merge pull request #8029 from planetscale/sql-encoding-fix
systay May 4, 2021
499a7fd
Merge pull request #8031 from planetscale/at-release-10.0.1
systay May 4, 2021
43d5ee6
Post v10.0.1 updates
askdba May 5, 2021
c747981
Merge pull request #8045 from planetscale/release-10.0
askdba May 7, 2021
c84427d
10.0.0: update release notes with known issue #8080
deepthi May 7, 2021
c1b7547
8.0.0: update release notes with known issue #8080
deepthi May 7, 2021
96fb6af
Queryservice fix
harshit-gangal May 10, 2021
afeeaf1
Merge pull request #8099 from planetscale/10-8089
harshit-gangal May 12, 2021
23eb918
Merge pull request #8083 from planetscale/ds-8-0-rel-notes
deepthi May 12, 2021
01310fd
Merge pull request #8081 from planetscale/ds-10-0-rel-notes
deepthi May 12, 2021
2591fa7
Pad binlog values for binary() columns to match the value returned byโ€ฆ
rohit-nayak-ps Apr 27, 2021
af2c47a
Pad binary() values in the binlog reader directly so that all consumeโ€ฆ
rohit-nayak-ps May 3, 2021
0ae1db0
Fix tests
rohit-nayak-ps May 4, 2021
8628110
added failing test
GuptaManan100 May 20, 2021
0a80f8e
allow PRIMARY to be passed to index lists as well
GuptaManan100 May 20, 2021
2aec9f5
Merge pull request #8159 from planetscale/use-index-primary-10.0
systay May 20, 2021
ddc26dc
Merge pull request #8137 from planetscale/backport-of-7969
rohit-nayak-ps May 21, 2021
69e45ca
Add OptionalTLS grpc TransportCredentials
noxiouz May 5, 2021
4e690bd
address feedback
noxiouz May 5, 2021
599a455
Added release script to the makefile
systay May 4, 2021
79bb5a7
Merge pull request #8182 from planetscale/9.0-do-release
askdba May 25, 2021
ffd4b9e
Update do_release to work in the 9.0 branch
systay May 25, 2021
9b94e51
Merge pull request #8184 from planetscale/9.0-release-script
systay May 25, 2021
58cd7b0
Release commit for 9.0.2
askdba May 25, 2021
2a4f7b4
Back to dev mode
askdba May 25, 2021
d9963c4
Merge pull request #8185 from planetscale/at-release-9.0.2
systay May 25, 2021
ed516f7
Merge pull request #8176 from planetscale/optional-tls-backport
deepthi May 26, 2021
fc78470
Release commit for 10.0.2
askdba May 27, 2021
4d317ce
Merge remote-tracking branch 'upstream/release-8.0' into empty-commitโ€ฆ
systay Jun 8, 2021
30f7483
Merge pull request #8240 from systay/empty-commit-8.0-into-9.0
systay Jun 10, 2021
c25d5f9
workaround xtrabackup error using mysql global variable old_alter_table
shlomi-noach Jun 15, 2021
5ef7323
Merge pull request #8340 from planetscale/fix-8315-release-9
systay Jun 15, 2021
6f84772
Updates and Corrections to v9 Release Notes
askdba Jun 9, 2021
cffb2b1
Review updates
askdba Jun 10, 2021
1bd6e05
Merge pull request #8342 from planetscale/update-release-notes
systay Jun 16, 2021
d37a31e
CI: remove matrix strategy for unit tests
rohit-nayak-ps Jan 6, 2021
5f04794
shard id in string
harshit-gangal Jun 21, 2021
693430e
workflow endtoend tests: named shards rather than numbered shards
shlomi-noach Jan 26, 2021
c7fe6c0
fix go version
harshit-gangal Jun 21, 2021
d4f333c
change ubuntu-latest to ubuntu-18.04
harshit-gangal Jun 21, 2021
1bb3217
added percona56 and removed old workflow
harshit-gangal Jun 22, 2021
520df6a
Merge pull request #8361 from planetscale/8.0-ci-change
deepthi Jun 22, 2021
b55b1d9
test com_send_long_data in parallel
harshit-gangal Jun 9, 2021
99d5e02
Copy parameter data from byte buffer in COM_STMT_SEND_LONG_DATA
systay Jun 9, 2021
c640f9d
Merge pull request #8294 from planetscale/send_long_data_buff_fix
harshit-gangal Jun 22, 2021
76485c4
Merge remote-tracking branch 'upstream/release-8.0' into release-9.0
harshit-gangal Jun 22, 2021
cdaf900
Merge pull request #8365 from planetscale/merge-8-into-9
systay Jun 22, 2021
00191c2
Refresh SrvVSchema after an ExternalizeVindex: was missing
rohit-nayak-ps Jun 23, 2021
049cbab
Merge pull request #8373 from planetscale/rn-externalize-vindex-refreโ€ฆ
shlomi-noach Jun 23, 2021
361f58d
Copy parameter data from byte buffer in COM_STMT_SEND_LONG_DATA
harshit-gangal Jun 23, 2021
a8115ba
Merge pull request #8380 from planetscale/merge-8-into-9
systay Jun 24, 2021
5832cd4
Make it clearer which GTIDSet we are using.
aquarapid Jun 12, 2021
3f6ff25
The difference between two identical GTIDSet values should be empty, not
aquarapid Jun 12, 2021
5a4c504
We use a sentinel file to avoid replication being restarted
aquarapid Jun 12, 2021
8b0f5e3
Add additional logging for most of the tablet replication RPC endpoints,
aquarapid Jun 12, 2021
5d06df2
Add test for a series of trivial ERS failovers to catch problems like
aquarapid Jun 15, 2021
ea9c632
Merge pull request #8422 from planetscale/jg_gtidset
deepthi Jul 7, 2021
049bff9
simpler ci workflow
rohit-nayak-ps Jan 6, 2021
a3341f8
updated to version 1.15 of go
GuptaManan100 Jul 8, 2021
e2f684b
fixed shard numbers
GuptaManan100 Jul 8, 2021
ac039e4
Merge pull request #8430 from planetscale/ci-fix-release-9
harshit-gangal Jul 8, 2021
da7da4a
fixed function call in default value of a column
GuptaManan100 Jul 7, 2021
f469d19
added additional tests
GuptaManan100 Jul 8, 2021
4005fb1
added cluster for mysql80 tests
GuptaManan100 Jul 8, 2021
df40b76
ran make generate_ci_workflows
GuptaManan100 Jul 8, 2021
747abf3
remove unnecessary components
GuptaManan100 Jul 8, 2021
3706e7d
Merge pull request #8425 from planetscale/function-call-default
systay Jul 8, 2021
01c8b66
Merge remote-tracking branch release-8.0 into release-9.0
systay Jul 8, 2021
14c67ef
Merge pull request #8436 from planetscale/rel9
systay Jul 8, 2021
82a885c
Merge remote-tracking branch 'upstream/release-9.0' into am_slack-vitโ€ฆ
ajm188 Jul 8, 2021
4b43592
Merge tag 'v10.0.2' into am_slack-vitess-v10.pre
ajm188 Jul 10, 2021
468219f
Fix build for macos
ajm188 Jul 10, 2021
0134015
Fix sizegen to include sqltypes.Result
ajm188 Jul 10, 2021
83bf1dc
`go mod tidy`
ajm188 Jul 10, 2021
db6ab54
Take parse_test.go directly from v10.0.2
ajm188 Jul 10, 2021
f97e49f
Update error string in test assertion to match upstream 10.0.2
ajm188 Jul 18, 2021
6ec68f1
Ensure vitessio/vitess#8425 is applied after file split
ajm188 Jul 18, 2021
767d29c
Partially apply bugfix in vitessio/vitess#8468
ajm188 Jul 18, 2021
7028a5d
Pull some test cases directly from v10.0.2
ajm188 Jul 18, 2021
94a3a18
Manually update bypass_keyrange cases to work in 10.0.2
ajm188 Jul 18, 2021
be9097a
Try reverting vitessio/vitess#8425 and vitessio/vitess#8468
ajm188 Jul 19, 2021
5014508
fixup! Update error string in test assertion to match upstream 10.0.2
ajm188 Jul 19, 2021
386eef2
Fix duplicate output data in vtexplain tests
ajm188 Jul 19, 2021
36a5e54
Merge pull request #8013 from planetscale/ddl-bypass
rafael May 1, 2021
c7e92dc
Partial revert of 94a3a18
ajm188 Jul 19, 2021
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
  •  
  •  
  •  
21 changes: 16 additions & 5 deletions .github/CODEOWNERS
Validating CODEOWNERS rules โ€ฆ
Original file line number Diff line number Diff line change
@@ -1,33 +1,44 @@
* @sougou

bootstrap.sh @deepthi
/config/mycnf/ @askdba @shlomi-noach
/docker/ @derekperkins @dkhenry
/examples/compose @shlomi-noach
/examples/demo @sougou
/examples/legacy_local @deepthi
/examples/local @rohit-nayak-ps
/examples/operator @askdba
/examples/region_sharding @deepthi
/java/ @harshit-gangal
/go/cache @vmg
/go/cmd/vtadmin @ajm188 @doeg
/go/cmd/vtctldclient @ajm188 @doeg
/go/mysql @harshit-gangal @systay
/go/protoutil @ajm188
/go/test/endtoend/onlineddl @shlomi-noach
/go/test/endtoend/orchestrator @deepthi @shlomi-noach
/go/test/endtoend/vtgate @harshit-gangal @systay
/go/vt/discovery @deepthi
/go/vt/mysqlctl @deepthi
/go/vt/proto/vtadmin @ajm188 @doeg
/go/vt/orchestrator @deepthi @shlomi-noach
/go/vt/proto/vtadmin @ajm188 @doeg
/go/vt/schema @shlomi-noach
/go/vt/sqlparser @harshit-gangal @systay
/go/vt/vtadmin @ajm188 @doeg
/go/vt/servenv @deepthi
/go/vt/sqlparser @harshit-gangal @systay @GuptaManan100
/go/vt/srvtopo @rafael
/go/vt/topo @deepthi @rafael
/go/vt/vtadmin @ajm188 @doeg @rohit-nayak-ps
/go/vt/vtctl @deepthi
/go/vt/vtctl/vtctl.go @ajm188 @doeg
/go/vt/vtctl/grpcvtctldclient @ajm188 @doeg
/go/vt/vtctl/grpcvtctldserver @ajm188 @doeg
/go/vt/vtctl/vtctldclient @ajm188 @doeg
/go/vt/vtctld @ajm188 @doeg @rohit-nayak-ps @deepthi
/go/vt/vtgate @harshit-gangal @systay
/go/vt/vttablet/tabletmanager @deepthi @shlomi-noach
/go/vt/vttablet/tabletmanager/vreplication @rohit-nayak-ps
/go/vt/vttablet/tabletmanager/vstreamer @rohit-nayak-ps
/go/vt/vttablet/tabletserver @harshit-gangal @systay @shlomi-noach
/go/vt/wrangler @deepthi @rohit-nayak-ps
/go/vt/workflow @rohit-nayak-ps
/helm/ @derekperkins @dkhenry
/proto/vtadmin.proto @ajm188 @doeg
/proto/vtctldata.proto @ajm188 @doeg
Expand Down
9 changes: 8 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
<!--
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".
-->

<!-- if this PR is Work in Progress please create it as a Draft Pull Request -->

## Description
Expand All @@ -22,4 +28,5 @@ Components that this PR will affect:
- [ ] Query Serving
- [ ] VReplication
- [ ] Cluster Management
- [ ] Build
- [ ] Build/CI
- [ ] VTAdmin
35 changes: 35 additions & 0 deletions .github/workflows/check_make_sizegen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: check_make_sizegen
on: [push, pull_request]
jobs:

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

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

- 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_sizegen
run: |
tools/check_make_sizegen.sh

2 changes: 1 addition & 1 deletion .github/workflows/check_make_visitor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ jobs:

- name: check_make_visitor
run: |
misc/git/hooks/visitorgen
misc/git/hooks/asthelpers

59 changes: 59 additions & 0 deletions .github/workflows/check_runs_analysis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
on:
schedule:
- cron: '*/10 * * * *'

jobs:
analyze:
if: github.repository == 'vitessio/vitess'
name: analyze_check_runs
runs-on: ubuntu-latest
steps:

- uses: actions/checkout@v2
with:
ref: metrics
- name: analyze check runs
run: |
FAILED_RUNS_JSON="/tmp/failed_runs.json"
FAILED_RUNS_CSV="/tmp/failed_runs.csv"
WORKFLOW_FAILURES_FILE=".metrics/workflow-failures"

# Get latest failed check runs
curl \
-H 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
-H "Accept: application/vnd.github.v3+json" \
-H "Content-type: application/json" \
"https://api.github.com/repos/${GITHUB_REPOSITORY}/actions/runs?per_page=100&status=failure" \
> "$FAILED_RUNS_JSON"

# extract .created_at, .name, .html_url for each failed check run
cat "$FAILED_RUNS_JSON" |
jq -r '.workflow_runs[] | (.created_at + "," + .name + "," + .html_url)' > "$FAILED_RUNS_CSV"

# now combine back into $WORKFLOW_FAILURES_FILE,
# - skipping duplicates
# - limit file size to X last lines
# - encode with bas64
tmpfile="$(mktemp)"
cat $WORKFLOW_FAILURES_FILE $FAILED_RUNS_CSV | sort | uniq | tail -10000 | base64 -w 0 > $tmpfile
# sha of the file we're replacing:
sha="$(git hash-object ${WORKFLOW_FAILURES_FILE})"

json="
{
\"message\": \"automated merge of failed check runs\",
\"branch\": \"metrics\",
\"sha\": \"$sha\",
\"content\": \"$(cat $tmpfile)\"
}
"
json_tmpfile="$(mktemp)"
echo "$json" > $json_tmpfile

curl \
-X PUT \
-H 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
-H "Accept: application/vnd.github.v3+json" \
-H "Content-type: application/json" \
"https://api.github.com/repos/${GITHUB_REPOSITORY}/contents/${WORKFLOW_FAILURES_FILE}" \
-d "@${json_tmpfile}"
50 changes: 50 additions & 0 deletions .github/workflows/cluster_endtoend_11.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# DO NOT MODIFY: THIS FILE IS GENERATED USING "make generate_ci_workflows"

name: Cluster (11)
on: [push, pull_request]
jobs:

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

steps:
- 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

# 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

- 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: Run cluster endtoend test
timeout-minutes: 30
run: |
source build.env
eatmydata -- go run test.go -docker=false -print-log -follow -shard 11
50 changes: 50 additions & 0 deletions .github/workflows/cluster_endtoend_12.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# DO NOT MODIFY: THIS FILE IS GENERATED USING "make generate_ci_workflows"

name: Cluster (12)
on: [push, pull_request]
jobs:

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

steps:
- 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

# 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

- 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: Run cluster endtoend test
timeout-minutes: 30
run: |
source build.env
eatmydata -- go run test.go -docker=false -print-log -follow -shard 12
50 changes: 50 additions & 0 deletions .github/workflows/cluster_endtoend_13.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# DO NOT MODIFY: THIS FILE IS GENERATED USING "make generate_ci_workflows"

name: Cluster (13)
on: [push, pull_request]
jobs:

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

steps:
- 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

# 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

- 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: Run cluster endtoend test
timeout-minutes: 30
run: |
source build.env
eatmydata -- go run test.go -docker=false -print-log -follow -shard 13
50 changes: 50 additions & 0 deletions .github/workflows/cluster_endtoend_14.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# DO NOT MODIFY: THIS FILE IS GENERATED USING "make generate_ci_workflows"

name: Cluster (14)
on: [push, pull_request]
jobs:

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

steps:
- 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

# 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

- 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: Run cluster endtoend test
timeout-minutes: 30
run: |
source build.env
eatmydata -- go run test.go -docker=false -print-log -follow -shard 14
Loading