-
Notifications
You must be signed in to change notification settings - Fork 75
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
Ensure that binary logs for PITR are in a shared directory #541
Open
mattlord
wants to merge
27
commits into
main
Choose a base branch
from
point-in-time-recovery
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.
+190
−13
Open
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
d259730
Ensure that binary logs for PITR are restored to a shared location
mattlord e2e5e8b
Add ability to specify flags for mysqlctld
mattlord 9992074
Merge remote-tracking branch 'origin/main' into point-in-time-recovery
mattlord 10a9524
It's a tablet flag not a mysqlctld one
mattlord af6ebcb
Merge remote-tracking branch 'origin/main' into point-in-time-recovery
mattlord 48ba49f
Move the flag handling code
mattlord 411993c
Only set flag on 2.12+
mattlord 79bf28d
Add PITR restore to backup test
mattlord 8277844
Use recent vtctldclient
mattlord 9d2b978
Use different date command
mattlord db311ed
Use different date format
mattlord 63abf80
Test incremental backup and restore
mattlord 425b725
WiP
mattlord 75c701d
attempt to fix tests
shlomi-noach f09d7be
more debug output
shlomi-noach 7716135
more debug info
shlomi-noach 3452359
list backups as debug step
shlomi-noach b1a0cb3
GetBackups
shlomi-noach 919119b
Get test working locally
mattlord 49b9332
Ignore vtdataroot path created when running local tests
mattlord 5c809cc
Merge remote-tracking branch 'origin/main' into point-in-time-recovery
mattlord 2aeb36b
Fix backup test; use percona image
mattlord 573b44f
Merge remote-tracking branch 'origin/main' into point-in-time-recovery
mattlord 2f7768a
Use /vt/bin for mysqlbinlog and add it to PATH
mattlord 34b93ad
Merge remote-tracking branch 'origin/main' into point-in-time-recovery
mattlord ce28c33
Add mysqlbinlog to $VTROOT/bin in backup pods
mattlord 5e7df2b
Testing...
mattlord 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 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 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 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.
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.
The directory
/mnt/.../
is shared across all the containers in the pod I am assuming? In which case, this line would resolve what you wrote in the PR's description: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 is simply about copying the mysqlbinlog binary from the vitess/lite container image to the mysqlctld/vtbackup container (if it's not already there), as it looks like we'll need to keep that around in the lite image because the MySQL images do not contain that binary and it's needed for PITR.