-
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
Need docs on how to add a new vttablet to an existing shard #403
Comments
We've had a couple questions about this, so I'm making this into a tracking issue to consolidate. To add a new tablet to an existing shard, you need to do one of two things:
We're still working on writing documentation for these processes, and we'll update this issue when we have something. In the meantime, if you want to try to forge ahead of our docs, you can look at how it's done in the integration test script:
If you have any followup questions along the way, we'd be happy to help as it will be useful for the documentation effort. |
Thanks! I will look at the test scripts and hope to do something helpful. I think that is useful to make the process as simple as possible. |
I see the clone.py and try it, but with a problem , it need wo tablet alias type for idle, but i do not know hao to create a tablet which type is idle? |
We just reworked our backup / restore to be a lot more straightforward and much simpler. Now the backups are handled with the 'vtctl Backup' command, and the restore is a vttablet startup option. See doc/BackupAndRestore.md for more details. At this point, we are just in need of an implementation of BackupStorage on different Cloud services (we already provide the local file system one, that would work over NFS, or any file system that can be mounted on the local machine). So I'm going to close this issue, let us know if something still needs attention. Thanks! |
first I have a live shard in a cell and two vttablets/databases instance in the shard, I create a table in the master database of the shard and insert data into the database through the mysql client(not vtgate), the other database of the shard could auto sync data from master database.Then I add a new vttablet and daabase instance into the shard,but I found that the new database didn't auto sync data from master database of the shard finally, the new database is empty.
Thanks very much!
The text was updated successfully, but these errors were encountered: