Skip to content

Commit ea7e594

Browse files
committed
Merge remote-tracking branch 'origin/master' into mtocker-virtual-shards-new2
* origin/master: bugfix: Fix impossible query for UNION (vitessio#18463) fix topo use in local_example (vitessio#18357) fix: update go-upgrade tool to check patch number (vitessio#18252) (vitessio#18402) Update MAINTAINERS.md and CODEOWNERS (vitessio#18462) Add logging to binlog watcher actions (vitessio#18264) `schemadiff`: `RelatedForeignKeyTables()` (vitessio#18195) `vtorc`: allow recoveries to be disabled from startup (vitessio#18005) Fix `vttablet` not being marked as not serving when MySQL stalls (vitessio#17883) make xtrabackup ShouldDrainForBackup configurable (vitessio#18431) Signed-off-by: Morgan Tocker <[email protected]>
2 parents 1517d50 + 95dd11c commit ea7e594

File tree

25 files changed

+674
-284
lines changed

25 files changed

+674
-284
lines changed

.github/CODEOWNERS

Lines changed: 32 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,77 +1,76 @@
1-
* @deepthi
2-
bootstrap.sh @deepthi @frouioui
3-
go.mod @deepthi @harshit-gangal @mattlord @rohit-nayak-ps @systay @frouioui
4-
go.sum @deepthi @harshit-gangal @mattlord @rohit-nayak-ps @systay @frouioui
5-
/.github/ @deepthi @mattlord @rohit-nayak-ps @frouioui
6-
/.github/ISSUE_TEMPLATE/ @deepthi @frouioui @mattlord
7-
/.github/workflows/ @deepthi @frouioui @mattlord @rohit-nayak-ps
8-
/config/mycnf/ @deepthi @shlomi-noach @mattlord
9-
/doc/ @deepthi @frouioui @GuptaManan100
10-
/docker/ @deepthi @derekperkins @mattlord @GuptaManan100 @frouioui
1+
bootstrap.sh @frouioui
2+
go.mod @harshit-gangal @mattlord @rohit-nayak-ps @systay @frouioui
3+
go.sum @harshit-gangal @mattlord @rohit-nayak-ps @systay @frouioui
4+
/.github/ @mattlord @rohit-nayak-ps @frouioui
5+
/.github/ISSUE_TEMPLATE/ @frouioui @mattlord
6+
/.github/workflows/ @frouioui @mattlord @rohit-nayak-ps
7+
/config/mycnf/ @shlomi-noach @mattlord
8+
/doc/ @frouioui @GuptaManan100
9+
/docker/ @derekperkins @mattlord @GuptaManan100 @frouioui
1110
/examples/compose @shlomi-noach @GuptaManan100 @frouioui
1211
/examples/demo @mattlord @rohit-nayak-ps
1312
/examples/local @rohit-nayak-ps @frouioui @mattlord @GuptaManan100
1413
/examples/operator @GuptaManan100 @frouioui @mattlord
15-
/examples/region_sharding @deepthi @mattlord
14+
/examples/region_sharding @mattlord
1615
/java/ @harshit-gangal
17-
/go/cmd @deepthi @mattlord
16+
/go/cmd @mattlord
1817
/go/cmd/vtadmin @notfelineit
1918
/go/cmd/vtctldclient @mattlord @notfelineit
2019
/go/cmd/vtctldclient/command/throttler.go @shlomi-noach @mattlord
2120
/go/cmd/vtctldclient/command/vreplication @mattlord @rohit-nayak-ps @shlomi-noach @notfelineit
2221
/go/cmd/vtctldclient/command/backups.go @frouioui @mattlord
23-
/go/cmd/vtbackup @frouioui @deepthi
22+
/go/cmd/vtbackup @frouioui
2423
/go/internal/flag @rohit-nayak-ps
2524
/go/mysql @harshit-gangal @systay @mattlord
26-
/go/pools @deepthi @harshit-gangal
27-
/go/protoutil @deepthi @mattlord
25+
/go/pools @harshit-gangal
26+
/go/protoutil @mattlord
2827
/go/sqltypes @harshit-gangal @shlomi-noach
2928
/go/test/endtoend/onlineddl @rohit-nayak-ps @shlomi-noach
3029
/go/test/endtoend/messaging @mattlord @rohit-nayak-ps @derekperkins
3130
/go/test/endtoend/schemadiff @shlomi-noach @mattlord
3231
/go/test/endtoend/transaction @harshit-gangal @systay @frouioui @GuptaManan100
3332
/go/test/endtoend/*throttler* @shlomi-noach @mattlord @timvaillancourt
3433
/go/test/endtoend/vtgate @harshit-gangal @systay @frouioui
35-
/go/test/endtoend/vtorc @deepthi @shlomi-noach @GuptaManan100 @timvaillancourt
34+
/go/test/endtoend/vtorc @shlomi-noach @GuptaManan100 @timvaillancourt
3635
/go/tools/ @frouioui @systay
3736
/go/vt/dbconnpool @harshit-gangal @mattlord
38-
/go/vt/discovery @deepthi @frouioui
37+
/go/vt/discovery @frouioui
3938
/go/vt/discovery/*tablet_picker* @rohit-nayak-ps @mattlord
40-
/go/vt/mysqlctl @deepthi @mattlord @frouioui
41-
/go/vt/proto @deepthi @harshit-gangal @mattlord
39+
/go/vt/mysqlctl @mattlord @frouioui
40+
/go/vt/proto @harshit-gangal @mattlord
4241
/go/vt/proto/vtadmin @notfelineit
4342
/go/vt/schema @mattlord @shlomi-noach
44-
/go/vt/servenv @deepthi @dbussink
43+
/go/vt/servenv @dbussink
4544
/go/vt/schemadiff @shlomi-noach @mattlord
4645
/go/vt/sqlparser @harshit-gangal @systay @GuptaManan100
47-
/go/vt/srvtopo @deepthi @mattlord
46+
/go/vt/srvtopo @mattlord
4847
/go/vt/sysvars @harshit-gangal @systay
49-
/go/vt/topo @deepthi @mattlord
50-
/go/vt/topotools @deepthi @mattlord
48+
/go/vt/topo @mattlord
49+
/go/vt/topotools @mattlord
5150
/go/vt/vitessdriver @harshit-gangal
5251
/go/vt/vtadmin @notfelineit @rohit-nayak-ps
53-
/go/vt/vtctl @deepthi @rohit-nayak-ps
52+
/go/vt/vtctl @rohit-nayak-ps
5453
/go/vt/vtctl/vtctl.go @notfelineit @rohit-nayak-ps
5554
/go/vt/vtctl/grpcvtctldclient @notfelineit @mattlord
5655
/go/vt/vtctl/grpcvtctldserver @notfelineit @mattlord
57-
/go/vt/vtctl/reparentutil @GuptaManan100 @deepthi
56+
/go/vt/vtctl/reparentutil @GuptaManan100
5857
/go/vt/vtctl/vtctldclient @notfelineit @mattlord
59-
/go/vt/vtctld @deepthi @notfelineit @rohit-nayak-ps @mattlord
58+
/go/vt/vtctld @notfelineit @rohit-nayak-ps @mattlord
6059
/go/vt/vterrors @harshit-gangal @systay @frouioui
6160
/go/vt/vtexplain @systay @harshit-gangal
6261
/go/vt/vtgate @harshit-gangal @systay @frouioui @GuptaManan100
6362
/go/vt/vtgate/endtoend/*vstream* @rohit-nayak-ps @mattlord @shlomi-noach @notfelineit
6463
/go/vt/vtgate/planbuilder @harshit-gangal @systay @frouioui @GuptaManan100 @arthurschreiber
6564
/go/vt/vtgate/*vstream* @rohit-nayak-ps @mattlord @shlomi-noach @notfelineit
6665
/go/vt/vtgate/evalengine @dbussink @systay
67-
/go/vt/vtorc @deepthi @shlomi-noach @GuptaManan100 @timvaillancourt
66+
/go/vt/vtorc @shlomi-noach @GuptaManan100 @timvaillancourt
6867
/go/vt/vttablet/*conn* @harshit-gangal @systay
6968
/go/vt/vttablet/endtoend @harshit-gangal @mattlord @rohit-nayak-ps @systay
7069
/go/vt/vttablet/grpc* @rohit-nayak-ps @shlomi-noach @harshit-gangal
7170
/go/vt/vttablet/onlineddl @mattlord @rohit-nayak-ps @shlomi-noach @notfelineit
7271
/go/vt/vttablet/queryservice @harshit-gangal @systay
73-
/go/vt/vttablet/tabletmanager @deepthi @GuptaManan100 @rohit-nayak-ps @shlomi-noach
74-
/go/vt/vttablet/tabletmanager/rpc_backup.go @deepthi @GuptaManan100 @rohit-nayak-ps @shlomi-noach @frouioui
72+
/go/vt/vttablet/tabletmanager @GuptaManan100 @rohit-nayak-ps @shlomi-noach
73+
/go/vt/vttablet/tabletmanager/rpc_backup.go @GuptaManan100 @rohit-nayak-ps @shlomi-noach @frouioui
7574
/go/vt/vttablet/tabletmanager/rpc_throttler.go @shlomi-noach @mattlord @timvaillancourt
7675
/go/vt/vttablet/tabletserver/throttle @shlomi-noach @mattlord @timvaillancourt
7776
/go/vt/vttablet/tabletmanager/vreplication @rohit-nayak-ps @mattlord @shlomi-noach @notfelineit
@@ -81,13 +80,13 @@ go.sum @deepthi @harshit-gangal @mattlord @rohit-nayak-ps @systay @frouioui
8180
/go/vt/vttablet/tabletserver/messager @mattlord @rohit-nayak-ps @derekperkins
8281
/go/vt/vttablet/*tmclient* @GuptaManan100 @rohit-nayak-ps @shlomi-noach
8382
/go/vt/vttablet/vexec @mattlord @rohit-nayak-ps @shlomi-noach
84-
/go/vt/wrangler @deepthi @mattlord @rohit-nayak-ps
83+
/go/vt/wrangler @mattlord @rohit-nayak-ps
8584
/go/vt/vtctl/workflow @mattlord @rohit-nayak-ps @shlomi-noach @notfelineit
86-
/proto/ @deepthi @harshit-gangal
85+
/proto/ @harshit-gangal
8786
/proto/vtadmin.proto @notfelineit @mattlord
8887
/proto/vtctldata.proto @notfelineit @mattlord
8988
/proto/vtctlservice.proto @notfelineit @mattlord
90-
/test/ @GuptaManan100 @frouioui @rohit-nayak-ps @deepthi @mattlord @harshit-gangal
89+
/test/ @GuptaManan100 @frouioui @rohit-nayak-ps @mattlord @harshit-gangal
9190
/tools/ @frouioui @rohit-nayak-ps
9291
/web/vtadmin @notfelineit
93-
/web/vtadmin/src/proto @deepthi @harshit-gangal @mattlord @notfelineit
92+
/web/vtadmin/src/proto @harshit-gangal @mattlord @notfelineit

.github/workflows/local_example.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: gh-hosted-runners-16cores-1-24.04
99
strategy:
1010
matrix:
11-
topo: [consul,etcd,zk2]
11+
topo: [etcd,zk2]
1212

1313
steps:
1414
- name: Skip CI

MAINTAINERS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ The following is the full list, alphabetically ordered.
44

55
* Andres Taylor ([systay](https://github.com/systay)) [email protected]
66
* Arthur Schreiber ([arthurschreiber](https://github.com/arthurschreiber)) [email protected]
7-
* Deepthi Sigireddi ([deepthi](https://github.com/deepthi)) [email protected]
87
* Derek Perkins ([derekperkins](https://github.com/derekperkins)) [email protected]
98
* Dirkjan Bussink ([dbussink](https://github.com/dbussink)) [email protected]
109
* Florent Poinsard ([frouioui](https://github.com/frouioui)) [email protected]
@@ -19,13 +18,13 @@ The following is the full list, alphabetically ordered.
1918
## Areas of expertise
2019

2120
### General Vitess
22-
deepthi, mattlord, derekperkins
21+
mattlord, derekperkins
2322

2423
### Builds
2524
shlomi-noach, GuptaManan100, frouioui
2625

2726
### Resharding
28-
rohit-nayak-ps, deepthi, mattlord
27+
rohit-nayak-ps, mattlord
2928

3029
### Parser
3130
systay, harshit-gangal, vmg, GuptaManan100, dbussink
@@ -43,7 +42,7 @@ systay, harshit-gangal, GuptaManan100, frouioui, dbussink
4342
shlomi-noach, dbussink
4443

4544
### Cluster Management
46-
deepthi, GuptaManan100, dbussink
45+
GuptaManan100, dbussink
4746

4847
### Java
4948
harshit-gangal
@@ -66,6 +65,7 @@ We thank the following past maintainers for their contributions.
6665
* Anthony Yeh ([enisoc](https://github.com/enisoc))
6766
* Dan Kozlowski ([dkhenry](https://github.com/dkhenry))
6867
* David Weitzman ([dweitzman](https://github.com/dweitzman))
68+
* Deepthi Sigireddi ([deepthi](https://github.com/deepthi))
6969
* Jon Tirsen ([tirsen](https://github.com/tirsen))
7070
* Leo X. Lin ([leoxlin](https://github.com/leoxlin))
7171
* Mali Akmanalp ([makmanalp](https://github.com/makmanalp)

docker/test/run.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ args="$args -v /tmp/mavencache:/home/vitess/.m2"
141141
args="$args --user vitess"
142142
args="$args -v $PWD/test/bin:/tmp/bin"
143143

144+
# Pass through TOPO environment variable if it's set
145+
if [[ -n "$TOPO" ]]; then
146+
args="$args -e TOPO=$TOPO"
147+
fi
144148
# Mount in host VTDATAROOT if one exists, since it might be a RAM disk or SSD.
145149
if [[ -n "$VTDATAROOT" ]]; then
146150
hostdir=`mktemp -d $VTDATAROOT/test-XXX`

examples/common/scripts/zk-down.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
source "$(dirname "${BASH_SOURCE[0]:-$0}")/../env.sh"
2020

21+
# Explicitly set VTROOT for this script, since it requires it.
22+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
23+
export VTROOT=${VTROOT:-$(cd "$SCRIPT_DIR/../../.." && pwd)}
24+
2125
# Stop ZooKeeper servers.
2226
echo "Stopping zk servers..."
2327
for zkid in $zkids; do

examples/common/scripts/zk-up.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818

1919
source "$(dirname "${BASH_SOURCE[0]:-$0}")/../env.sh"
2020

21+
# Explicitly set VTROOT for this script, since it requires it.
22+
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")" && pwd)"
23+
export VTROOT=${VTROOT:-$(cd "$SCRIPT_DIR/../../.." && pwd)}
24+
2125
cell=${CELL:-'test'}
2226
# Start ZooKeeper servers.
2327
# The "zkctl init" command won't return until the server is able to contact its

go/flags/endtoend/vtbackup.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ Flags:
253253
--xtrabackup-backup-flags string Flags to pass to backup command. These should be space separated and will be added to the end of the command
254254
--xtrabackup-prepare-flags string Flags to pass to prepare command. These should be space separated and will be added to the end of the command
255255
--xtrabackup-root-path string Directory location of the xtrabackup and xbstream executables, e.g., /usr/bin
256+
--xtrabackup-should-drain Decide if we should drain while taking a backup or continue to serving traffic
256257
--xtrabackup-stream-mode string Which mode to use if streaming, valid values are tar and xbstream. Please note that tar is not supported in XtraBackup 8.0 (default "tar")
257258
--xtrabackup-stripe-block-size uint Size in bytes of each block that gets sent to a given stripe before rotating to the next stripe (default 102400)
258259
--xtrabackup-stripes uint If greater than 0, use data striping across this many destination files to parallelize data transfer and decompression

go/flags/endtoend/vtcombo.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ Flags:
444444
--xtrabackup-backup-flags string Flags to pass to backup command. These should be space separated and will be added to the end of the command
445445
--xtrabackup-prepare-flags string Flags to pass to prepare command. These should be space separated and will be added to the end of the command
446446
--xtrabackup-root-path string Directory location of the xtrabackup and xbstream executables, e.g., /usr/bin
447+
--xtrabackup-should-drain Decide if we should drain while taking a backup or continue to serving traffic
447448
--xtrabackup-stream-mode string Which mode to use if streaming, valid values are tar and xbstream. Please note that tar is not supported in XtraBackup 8.0 (default "tar")
448449
--xtrabackup-stripe-block-size uint Size in bytes of each block that gets sent to a given stripe before rotating to the next stripe (default 102400)
449450
--xtrabackup-stripes uint If greater than 0, use data striping across this many destination files to parallelize data transfer and decompression

go/flags/endtoend/vtorc.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ vtorc \
1616

1717
Flags:
1818
--allow-emergency-reparent Whether VTOrc should be allowed to run emergency reparent operation when it detects a dead primary (default true)
19+
--allow-recovery Whether VTOrc should be allowed to run recovery actions (default true)
1920
--alsologtostderr log to standard error as well as files
2021
--audit-file-location string File location where the audit logs are to be stored
2122
--audit-purge-duration duration Duration for which audit logs are held before being purged. Should be in multiples of days (default 168h0m0s)

go/flags/endtoend/vttablet.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ Flags:
431431
--xtrabackup-backup-flags string Flags to pass to backup command. These should be space separated and will be added to the end of the command
432432
--xtrabackup-prepare-flags string Flags to pass to prepare command. These should be space separated and will be added to the end of the command
433433
--xtrabackup-root-path string Directory location of the xtrabackup and xbstream executables, e.g., /usr/bin
434+
--xtrabackup-should-drain Decide if we should drain while taking a backup or continue to serving traffic
434435
--xtrabackup-stream-mode string Which mode to use if streaming, valid values are tar and xbstream. Please note that tar is not supported in XtraBackup 8.0 (default "tar")
435436
--xtrabackup-stripe-block-size uint Size in bytes of each block that gets sent to a given stripe before rotating to the next stripe (default 102400)
436437
--xtrabackup-stripes uint If greater than 0, use data striping across this many destination files to parallelize data transfer and decompression

0 commit comments

Comments
 (0)