-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Feature Request: Support Custom/Variable Sidecar (_vt) Database Name on Tablets #12304
Comments
@mattlord while I generally understand the need for a custom sidecarDB, I'm do not understand the need for it as described above. Can you please clarify how:
is related to a custom sidecarDB ? I'm sure I'm missing some context. |
@shlomi-noach |
Got it! Thanks so much, that's an angle I didn't think of! |
Is the idea here to put a (potentially second) |
Correct. That's the primary use case in mind, but the general ability to have a single mysqld participating in two distinct Vitess clusters can open up some other known and unknown use cases as well. |
Feature Description
If you are moving tables between Vitess clusters, you have the
Mount
+Migrate
commands to use for that today.A major drawback to using
Migrate
however is that it offers no rollback/revert functionality. For this reason, being able to use the standardMoveTables
command when doing intra cluster data migrations is very desirable.Use Case(s)
Any time you're moving tables between Vitess clusters, e.g. going from an on-prem cluster to one that lives in an IaaS/SaaS/PaaS provider.
Any time you're allowing your users to migrate tables into a Vitess cluster that you manage, you may not know if your user is already using Vitess. If they are, then using the existing sidecar (_vt) database on that mysqld instance that you're importing from can cause serious problems.
The text was updated successfully, but these errors were encountered: