-
Notifications
You must be signed in to change notification settings - Fork 2.3k
mysqlctl,vttablet,vtbackup: support restore tablet and vtbackup restore phase with CLONE #19084
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
Open
maxenglander
wants to merge
36
commits into
main
Choose a base branch
from
clone-restore-init
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
5458bcd
mysqlctl: add MySQL CLONE support infrastructure
nickvanw 0fe8efd
add flags to tests + fix errors from linters
nickvanw 8941459
fix up more tests
nickvanw 94624dc
go/vt/mysqlctl: add CloneFromDonor
maxenglander 0342d74
actually validate the source and destination, and poll for the copy t…
nickvanw 95dccd1
TestCloneFromDonor: add a few cases
maxenglander ba66344
merge <- clone-infrastructure
maxenglander e66d1ee
more tests
maxenglander 0d57e26
make it nicer
maxenglander 06a370b
make tests nicer
maxenglander 88340e5
slight reorg add comments
maxenglander 01fabc0
fix imports
maxenglander ca83a7a
fix lint
maxenglander 2cdb9c4
one more lint
maxenglander 66e4998
tidy
maxenglander 8633eaf
add an end to end test and do some cleanup
nickvanw 13ace33
use time tickers in the for loop
nickvanw 43a534f
tmrpctest: fix flaky TestGRPCTMServer timeout test
nickvanw 0599231
Merge branch 'clone-infrastructure' into clone-from-donor
maxenglander dbe89f7
fix test
maxenglander e7e2559
go/vt/{mysqlctl,vttablet}: support restore tablet with CLONE
maxenglander d4f5da8
rm redundant clone capability check
maxenglander 48d3940
fix bug, tests
maxenglander b44ad0f
rm redundant clone sql init
maxenglander d40490b
Merge branch 'clone-infrastructure' into clone-from-donor
maxenglander 425c440
Merge branch 'clone-from-donor' into clone-restore-init
maxenglander a50414a
fix imports
maxenglander dbbf495
fix tests
maxenglander cf1a804
fix tests
maxenglander 3c58666
go/cmd/vtbackup: add `--restore-from-clone` support to `vtbackup` (#1…
maxenglander 327b31a
merge <- main
maxenglander 05bb719
update flags
maxenglander 3f157ae
tidy
maxenglander 4d539b7
flags
maxenglander fc6b8e7
address cr feedback
maxenglander 4f94b9e
cr: use logger var
maxenglander File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -99,7 +99,6 @@ Flags: | |
| --log_dir string If non-empty, write log files in this directory | ||
| --logtostderr log to standard error instead of files | ||
| --max-stack-size int configure the maximum stack size in bytes (default 67108864) | ||
| --mysql-clone-enabled Enable MySQL CLONE plugin and user for backup/replica provisioning (requires MySQL 8.0.17+) | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as comment above |
||
| --mysql-port int MySQL port (default 3306) | ||
| --mysql-server-version string MySQL server version to advertise. (default "8.4.6-Vitess") | ||
| --mysql-socket string Path to the mysqld socket file | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was added in an earlier PR, i don't think it's relevant for this binary