Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add mysqlctl support for MariaDB 10.4 #5374

Merged
merged 1 commit into from
Nov 23, 2019

Conversation

morgo
Copy link
Contributor

@morgo morgo commented Oct 29, 2019

This adds mysqlctl support for MariaDB 10.4 bootstrapping (technically it tells mariadb 10.4 to bootstrap the old way). MariaDB 10.4 does not work yet, since it fails somewhere around the force master-elect:

+ cd examples/local/
+ ./101_initial_cluster.sh
enter etcd2 env
add /vitess/global
add /vitess/zone1
add zone1 CellInfo
etcd start done...
enter etcd2 env
Starting vtctld...
Access vtctld web UI at http://morgox1:15000
Send commands with: vtctlclient -server morgox1:15999 ...
enter etcd2 env
Starting MySQL for tablet zone1-0000000100...
Starting MySQL for tablet zone1-0000000101...
Starting MySQL for tablet zone1-0000000102...
Starting vttablet for zone1-0000000100...
Access tablet zone1-0000000100 at http://morgox1:15100/debug/status
Starting vttablet for zone1-0000000101...
Access tablet zone1-0000000101 at http://morgox1:15101/debug/status
Starting vttablet for zone1-0000000102...
Access tablet zone1-0000000102 at http://morgox1:15102/debug/status
Waiting for tablets to be listening...
Tablets up!
W1029 13:40:15.140647   10388 main.go:64] W1029 19:40:15.138686 reparent.go:182] master-elect tablet zone1-0000000100 is not the shard master, proceeding anyway as -force was used
W1029 13:40:15.141158   10388 main.go:64] W1029 19:40:15.139772 reparent.go:188] master-elect tablet zone1-0000000100 is not a master in the shard, proceeding anyway as -force was used
E1029 13:40:45.661848   10388 main.go:67] remote error: rpc error: code = Unknown desc = tablet zone1-0000000101 InitSlave failed: rpc error: code = DeadlineExceeded desc = context deadline exceeded;tablet zone1-0000000102 InitSlave failed: rpc error: code = DeadlineExceeded desc = context deadline exceeded

After this merges, I will update #5362 to say this is no longer a mysqlctl issue, but a reparenting issue that needs further investigation.

Signed-off-by: Morgan Tocker tocker@gmail.com

Signed-off-by: Morgan Tocker <tocker@gmail.com>
@morgo morgo added this to the v5.0 milestone Oct 29, 2019
@morgo morgo requested a review from sougou as a code owner October 29, 2019 19:43
@sougou sougou merged commit 6093fe7 into vitessio:master Nov 23, 2019
systay pushed a commit that referenced this pull request Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants