Skip to content

Commit aedc99e

Browse files
committed
Merge branch 'rashiq-vitess-v15-02' into rashiq-vitess-v1502
2 parents 667a98d + a914f40 commit aedc99e

File tree

283 files changed

+6109
-3512
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

283 files changed

+6109
-3512
lines changed

.github/CODEOWNERS

Lines changed: 55 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,75 @@
1-
bootstrap.sh @deepthi
1+
* @deepthi
2+
bootstrap.sh @ajm188 @deepthi @frouioui @vmg
3+
/.github/ISSUE_TEMPLATE/ @deepthi @frouioui @mattlord
4+
/.github/workflows/ @deepthi @frouioui @mattlord
25
/config/mycnf/ @deepthi @shlomi-noach @mattlord
3-
/docker/ @derekperkins @dkhenry @mattlord
4-
/examples/compose @shlomi-noach
5-
/examples/demo @sougou @mattlord
6+
/doc/ @deepthi @frouioui @GuptaManan100 @rsajwani
7+
/docker/ @deepthi @derekperkins @dkhenry @mattlord
8+
/examples/compose @shlomi-noach @GuptaManan100 @frouioui
9+
/examples/demo @mattlord @rohit-nayak-ps
610
/examples/legacy_local @deepthi
7-
/examples/local @rohit-nayak-ps @frouioui @mattlord
8-
/examples/operator @GuptaManan100 @frouioui
9-
/examples/region_sharding @deepthi
11+
/examples/local @rohit-nayak-ps @frouioui @mattlord @GuptaManan100
12+
/examples/operator @GuptaManan100 @frouioui @mattlord
13+
/examples/region_sharding @deepthi @mattlord
1014
/java/ @harshit-gangal
1115
/go/cache @vmg
12-
/go/cmd @ajm188
13-
/go/cmd/vtadmin @ajm188 @doeg @notfelineit
16+
/go/cmd @ajm188 @deepthi
17+
/go/cmd/vtadmin @ajm188 @notfelineit
1418
/go/cmd/vtctldclient @ajm188 @notfelineit
15-
/go/internal/flag @ajm188
19+
/go/internal/flag @ajm188 @rohit-nayak-ps
1620
/go/mysql @harshit-gangal @systay @mattlord
17-
/go/protoutil @ajm188
18-
/go/test/endtoend/onlineddl @shlomi-noach
19-
/go/test/endtoend/vtorc @deepthi @shlomi-noach @GuptaManan100
21+
/go/pools @deepthi @harshit-gangal
22+
/go/protoutil @ajm188 @deepthi
23+
/go/sqltypes @harshit-gangal @shlomi-noach @vmg
24+
/go/test/endtoend/onlineddl @rohit-nayak-ps @shlomi-noach
2025
/go/test/endtoend/messaging @mattlord @rohit-nayak-ps @derekperkins
2126
/go/test/endtoend/vtgate @harshit-gangal @systay @frouioui
22-
/go/vt/discovery @deepthi
23-
/go/vt/mysqlctl @deepthi @mattlord
24-
/go/vt/vtorc @deepthi @shlomi-noach @GuptaManan100
25-
/go/vt/proto/vtadmin @ajm188 @doeg @notfelineit
26-
/go/vt/schema @shlomi-noach
27+
/go/test/endtoend/vtorc @deepthi @shlomi-noach @GuptaManan100 @rsajwani
28+
/go/tools/ @frouioui @systay
29+
/go/vt/dbconnpool @harshit-gangal @mattlord
30+
/go/vt/discovery @deepthi @frouioui
31+
/go/vt/mysqlctl @deepthi @mattlord @rsajwani
32+
/go/vt/proto @deepthi @harshit-gangal @mattlord
33+
/go/vt/proto/vtadmin @ajm188 @notfelineit
34+
/go/vt/schema @mattlord @shlomi-noach
2735
/go/vt/servenv @deepthi @ajm188
2836
/go/vt/sqlparser @harshit-gangal @systay @GuptaManan100
29-
/go/vt/srvtopo @rafael
30-
/go/vt/topo @deepthi @rafael
31-
/go/vt/vtadmin @ajm188 @doeg @notfelineit @rohit-nayak-ps
32-
/go/vt/vtctl @deepthi
33-
/go/vt/vtctl/vtctl.go @ajm188 @notfelineit
37+
/go/vt/srvtopo @deepthi @rafael @mattlord
38+
/go/vt/sysvars @harshit-gangal @systay
39+
/go/vt/topo @deepthi @rafael @mattlord @rsajwani
40+
/go/vt/topotools @deepthi @rafael @mattlord @rsajwani
41+
/go/vt/vitessdriver @harshit-gangal
42+
/go/vt/vtadmin @ajm188 @notfelineit @rohit-nayak-ps
43+
/go/vt/vtctl @ajm188 @deepthi @rohit-nayak-ps
44+
/go/vt/vtctl/vtctl.go @notfelineit @rohit-nayak-ps
3445
/go/vt/vtctl/grpcvtctldclient @ajm188 @notfelineit
3546
/go/vt/vtctl/grpcvtctldserver @ajm188 @notfelineit
47+
/go/vt/vtctl/reparentutil @ajm188 @GuptaManan100 @deepthi
3648
/go/vt/vtctl/vtctldclient @ajm188 @notfelineit
3749
/go/vt/vtctld @ajm188 @deepthi @notfelineit @rohit-nayak-ps
38-
/go/vt/vtexplain @systay
39-
/go/vt/vtgate @harshit-gangal @systay @frouioui
40-
/go/vt/vttablet/tabletmanager @deepthi @shlomi-noach
50+
/go/vt/vterrors @harshit-gangal @systay
51+
/go/vt/vtexplain @systay @harshit-gangal
52+
/go/vt/vtgate @harshit-gangal @systay @frouioui @GuptaManan100
53+
/go/vt/vtorc @deepthi @shlomi-noach @GuptaManan100 @rsajwani
54+
/go/vt/vttablet/*conn* @harshit-gangal @systay
55+
/go/vt/vttablet/endtoend @harshit-gangal @mattlord @rohit-nayak-ps @systay
56+
/go/vt/vttablet/grpc* @ajm188 @rohit-nayak-ps @rsajwani @shlomi-noach @harshit-gangal
57+
/go/vt/vttablet/onlineddl @mattlord @rohit-nayak-ps @shlomi-noach
58+
/go/vt/vttablet/queryservice @harshit-gangal @systay
59+
/go/vt/vttablet/tabletmanager @deepthi @GuptaManan100 @rohit-nayak-ps @rsajwani @shlomi-noach
4160
/go/vt/vttablet/tabletmanager/vreplication @rohit-nayak-ps @mattlord
4261
/go/vt/vttablet/tabletmanager/vstreamer @rohit-nayak-ps @mattlord
43-
/go/vt/vttablet/tabletserver @harshit-gangal @systay @shlomi-noach
62+
/go/vt/vttablet/tabletserver* @harshit-gangal @systay @shlomi-noach @rohit-nayak-ps
4463
/go/vt/vttablet/tabletserver/messager @mattlord @rohit-nayak-ps @derekperkins
45-
/go/vt/wrangler @deepthi @rohit-nayak-ps @mattlord
46-
/go/vt/workflow @rohit-nayak-ps @mattlord
47-
/proto/vtadmin.proto @ajm188 @doeg @notfelineit
64+
/go/vt/vttablet/*tmclient* @ajm188 @GuptaManan100 @rohit-nayak-ps @rsajwani @shlomi-noach
65+
/go/vt/vttablet/vexec @mattlord @rohit-nayak-ps @shlomi-noach
66+
/go/vt/wrangler @deepthi @mattlord @rohit-nayak-ps
67+
/go/vt/workflow @mattlord @rohit-nayak-ps
68+
/proto/ @deepthi @harshit-gangal
69+
/proto/vtadmin.proto @ajm188 @notfelineit
4870
/proto/vtctldata.proto @ajm188 @notfelineit
4971
/proto/vtctlservice.proto @ajm188 @notfelineit
50-
/web/vtadmin @ajm188 @doeg @notfelineit
72+
/test/ @GuptaManan100 @frouioui @rohit-nayak-ps
73+
/tools/ @frouioui @rohit-nayak-ps
74+
/web/vtadmin @ajm188 @notfelineit
5175
/web/vtctld2 @notfelineit @rohit-nayak-ps

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
## Checklist
2020

21-
- [ ] "Backport me!" label has been added if this change should be backported
21+
- [ ] "Backport to:" labels have been added if this change should be back-ported
2222
- [ ] Tests were added or are not required
2323
- [ ] Documentation was added or is not required
2424

.github/workflows/check_make_vtadmin_authz_testgen.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
skip='true'
1515
fi
1616
echo Skip ${skip}
17-
echo "::set-output name=skip-workflow::${skip}"
17+
echo "skip-workflow=${skip}" >> $GITHUB_OUTPUT
1818
1919
- name: Check out code
2020
if: steps.skip-workflow.outputs.skip-workflow == 'false'
@@ -31,7 +31,8 @@ jobs:
3131
- 'bootstrap.sh'
3232
- 'tools/**'
3333
- 'build.env'
34-
- 'go.[sumod]'
34+
- 'go.sum'
35+
- 'go.mod'
3536
- 'Makefile'
3637
- 'go/vt/vtadmin/**'
3738
- '.github/workflows/check_make_vtadmin_authz_testgen.yml'
@@ -40,7 +41,7 @@ jobs:
4041
uses: actions/setup-go@v2
4142
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.vtadmin_changes == 'true'
4243
with:
43-
go-version: 1.18.7
44+
go-version: 1.18.9
4445

4546
- name: Tune the OS
4647
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.vtadmin_changes == 'true'

.github/workflows/check_make_vtadmin_web_proto.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
skip='true'
1515
fi
1616
echo Skip ${skip}
17-
echo "::set-output name=skip-workflow::${skip}"
17+
echo "skip-workflow=${skip}" >> $GITHUB_OUTPUT
1818
1919
- name: Check out code
2020
if: steps.skip-workflow.outputs.skip-workflow == 'false'
@@ -31,7 +31,8 @@ jobs:
3131
- 'bootstrap.sh'
3232
- 'tools/**'
3333
- 'build.env'
34-
- 'go.[sumod]'
34+
- 'go.sum'
35+
- 'go.mod'
3536
- 'Makefile'
3637
- 'go/vt/proto/**'
3738
- 'proto/*.proto'
@@ -42,7 +43,7 @@ jobs:
4243
uses: actions/setup-go@v2
4344
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.proto_changes == 'true'
4445
with:
45-
go-version: 1.18.7
46+
go-version: 1.18.9
4647

4748
- name: Setup Node
4849
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.proto_changes == 'true'

.github/workflows/cluster_endtoend_12.yml

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ concurrency:
66
group: format('{0}-{1}', ${{ github.ref }}, 'Cluster (12)')
77
cancel-in-progress: true
88

9-
env:
10-
LAUNCHABLE_ORGANIZATION: "vitess"
11-
LAUNCHABLE_WORKSPACE: "vitess-app"
12-
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
13-
149
jobs:
1510
build:
1611
name: Run endtoend tests on Cluster (12)
@@ -25,7 +20,7 @@ jobs:
2520
skip='true'
2621
fi
2722
echo Skip ${skip}
28-
echo "::set-output name=skip-workflow::${skip}"
23+
echo "skip-workflow=${skip}" >> $GITHUB_OUTPUT
2924
3025
- name: Check out code
3126
if: steps.skip-workflow.outputs.skip-workflow == 'false'
@@ -43,7 +38,8 @@ jobs:
4338
- 'test.go'
4439
- 'Makefile'
4540
- 'build.env'
46-
- 'go.[sumod]'
41+
- 'go.sum'
42+
- 'go.mod'
4743
- 'proto/*.proto'
4844
- 'tools/**'
4945
- 'config/**'
@@ -54,7 +50,7 @@ jobs:
5450
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
5551
uses: actions/setup-go@v2
5652
with:
57-
go-version: 1.18.7
53+
go-version: 1.18.9
5854

5955
- name: Set up python
6056
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
@@ -91,18 +87,6 @@ jobs:
9187
# install JUnit report formatter
9288
go install github.com/vitessio/go-junit-report@HEAD
9389
94-
- name: Setup launchable dependencies
95-
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
96-
run: |
97-
# Get Launchable CLI installed. If you can, make it a part of the builder image to speed things up
98-
pip3 install --user launchable~=1.0 > /dev/null
99-
100-
# verify that launchable setup is all correct.
101-
launchable verify || true
102-
103-
# Tell Launchable about the build you are producing and testing
104-
launchable record build --name "$GITHUB_RUN_ID" --source .
105-
10690
- name: Run cluster endtoend test
10791
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
10892
timeout-minutes: 45
@@ -115,13 +99,4 @@ jobs:
11599
set -x
116100
117101
# run the tests however you normally do, then produce a JUnit XML file
118-
eatmydata -- go run test.go -docker=false -follow -shard 12 | tee -a output.txt | go-junit-report -set-exit-code > report.xml
119-
120-
- name: Print test output and Record test result in launchable
121-
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true' && always()
122-
run: |
123-
# send recorded tests to launchable
124-
launchable record tests --build "$GITHUB_RUN_ID" go-test . || true
125-
126-
# print test output
127-
cat output.txt
102+
eatmydata -- go run test.go -docker=false -follow -shard 12

.github/workflows/cluster_endtoend_13.yml

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ concurrency:
66
group: format('{0}-{1}', ${{ github.ref }}, 'Cluster (13)')
77
cancel-in-progress: true
88

9-
env:
10-
LAUNCHABLE_ORGANIZATION: "vitess"
11-
LAUNCHABLE_WORKSPACE: "vitess-app"
12-
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
13-
149
jobs:
1510
build:
1611
name: Run endtoend tests on Cluster (13)
@@ -25,7 +20,7 @@ jobs:
2520
skip='true'
2621
fi
2722
echo Skip ${skip}
28-
echo "::set-output name=skip-workflow::${skip}"
23+
echo "skip-workflow=${skip}" >> $GITHUB_OUTPUT
2924
3025
- name: Check out code
3126
if: steps.skip-workflow.outputs.skip-workflow == 'false'
@@ -43,7 +38,8 @@ jobs:
4338
- 'test.go'
4439
- 'Makefile'
4540
- 'build.env'
46-
- 'go.[sumod]'
41+
- 'go.sum'
42+
- 'go.mod'
4743
- 'proto/*.proto'
4844
- 'tools/**'
4945
- 'config/**'
@@ -54,7 +50,7 @@ jobs:
5450
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
5551
uses: actions/setup-go@v2
5652
with:
57-
go-version: 1.18.7
53+
go-version: 1.18.9
5854

5955
- name: Set up python
6056
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
@@ -91,18 +87,6 @@ jobs:
9187
# install JUnit report formatter
9288
go install github.com/vitessio/go-junit-report@HEAD
9389
94-
- name: Setup launchable dependencies
95-
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
96-
run: |
97-
# Get Launchable CLI installed. If you can, make it a part of the builder image to speed things up
98-
pip3 install --user launchable~=1.0 > /dev/null
99-
100-
# verify that launchable setup is all correct.
101-
launchable verify || true
102-
103-
# Tell Launchable about the build you are producing and testing
104-
launchable record build --name "$GITHUB_RUN_ID" --source .
105-
10690
- name: Run cluster endtoend test
10791
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
10892
timeout-minutes: 45
@@ -115,13 +99,4 @@ jobs:
11599
set -x
116100
117101
# run the tests however you normally do, then produce a JUnit XML file
118-
eatmydata -- go run test.go -docker=false -follow -shard 13 | tee -a output.txt | go-junit-report -set-exit-code > report.xml
119-
120-
- name: Print test output and Record test result in launchable
121-
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true' && always()
122-
run: |
123-
# send recorded tests to launchable
124-
launchable record tests --build "$GITHUB_RUN_ID" go-test . || true
125-
126-
# print test output
127-
cat output.txt
102+
eatmydata -- go run test.go -docker=false -follow -shard 13

.github/workflows/cluster_endtoend_15.yml

Lines changed: 5 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@ concurrency:
66
group: format('{0}-{1}', ${{ github.ref }}, 'Cluster (15)')
77
cancel-in-progress: true
88

9-
env:
10-
LAUNCHABLE_ORGANIZATION: "vitess"
11-
LAUNCHABLE_WORKSPACE: "vitess-app"
12-
GITHUB_PR_HEAD_SHA: "${{ github.event.pull_request.head.sha }}"
13-
149
jobs:
1510
build:
1611
name: Run endtoend tests on Cluster (15)
@@ -25,7 +20,7 @@ jobs:
2520
skip='true'
2621
fi
2722
echo Skip ${skip}
28-
echo "::set-output name=skip-workflow::${skip}"
23+
echo "skip-workflow=${skip}" >> $GITHUB_OUTPUT
2924
3025
- name: Check out code
3126
if: steps.skip-workflow.outputs.skip-workflow == 'false'
@@ -43,7 +38,8 @@ jobs:
4338
- 'test.go'
4439
- 'Makefile'
4540
- 'build.env'
46-
- 'go.[sumod]'
41+
- 'go.sum'
42+
- 'go.mod'
4743
- 'proto/*.proto'
4844
- 'tools/**'
4945
- 'config/**'
@@ -54,7 +50,7 @@ jobs:
5450
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
5551
uses: actions/setup-go@v2
5652
with:
57-
go-version: 1.18.7
53+
go-version: 1.18.9
5854

5955
- name: Set up python
6056
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
@@ -91,18 +87,6 @@ jobs:
9187
# install JUnit report formatter
9288
go install github.com/vitessio/go-junit-report@HEAD
9389
94-
- name: Setup launchable dependencies
95-
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
96-
run: |
97-
# Get Launchable CLI installed. If you can, make it a part of the builder image to speed things up
98-
pip3 install --user launchable~=1.0 > /dev/null
99-
100-
# verify that launchable setup is all correct.
101-
launchable verify || true
102-
103-
# Tell Launchable about the build you are producing and testing
104-
launchable record build --name "$GITHUB_RUN_ID" --source .
105-
10690
- name: Run cluster endtoend test
10791
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
10892
timeout-minutes: 45
@@ -115,13 +99,4 @@ jobs:
11599
set -x
116100
117101
# run the tests however you normally do, then produce a JUnit XML file
118-
eatmydata -- go run test.go -docker=false -follow -shard 15 | tee -a output.txt | go-junit-report -set-exit-code > report.xml
119-
120-
- name: Print test output and Record test result in launchable
121-
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true' && always()
122-
run: |
123-
# send recorded tests to launchable
124-
launchable record tests --build "$GITHUB_RUN_ID" go-test . || true
125-
126-
# print test output
127-
cat output.txt
102+
eatmydata -- go run test.go -docker=false -follow -shard 15

0 commit comments

Comments
 (0)