-
Notifications
You must be signed in to change notification settings - Fork 88
Ensure that binary logs for PITR are in a shared directory #541
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
base: main
Are you sure you want to change the base?
Changes from 13 commits
d259730
e2e5e8b
9992074
10a9524
af6ebcb
48ba49f
411993c
79bf28d
8277844
9d2b978
db311ed
63abf80
425b725
75c701d
f09d7be
7716135
3452359
b1a0cb3
919119b
49b9332
5c809cc
2aeb36b
573b44f
2f7768a
34b93ad
ce28c33
5e7df2b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,6 +29,7 @@ const ( | |
| vtRootInitScript = `set -ex | ||
| mkdir -p /mnt/vt/bin | ||
| cp --no-clobber /vt/bin/mysqlctld /mnt/vt/bin/ | ||
| cp --no-clobber $(command -v mysqlbinlog) /mnt/vt/bin/ || true | ||
|
||
| mkdir -p /mnt/vt/config | ||
| if [[ -d /vt/config/mycnf ]]; then | ||
| cp --no-clobber -R /vt/config/mycnf /mnt/vt/config/ | ||
|
|
@@ -68,7 +69,7 @@ func init() { | |
|
|
||
| securityContext := &corev1.SecurityContext{} | ||
| if planetscalev2.DefaultVitessRunAsUser >= 0 { | ||
| securityContext.RunAsUser = pointer.Int64Ptr(planetscalev2.DefaultVitessRunAsUser) | ||
| securityContext.RunAsUser = pointer.Int64(planetscalev2.DefaultVitessRunAsUser) | ||
| } | ||
|
|
||
| // Use an init container to copy only the files we need from the Vitess image. | ||
|
|
||
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.
Unless I am missing something, this does not seem to be used anywhere. I think we should remove it to avoid unrequired changes
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.
I'll remove it if it indeed is not needed after I do some testing to confirm that things are now working.
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.
Coming back on what I said. I think it would be nice to keep that around so that people can use custom mysqlctld flags.