-
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
Migrate Materialize Command to Vtctldclient #11874
Migrate Materialize Command to Vtctldclient #11874
Conversation
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
…ackage Signed-off-by: Rohit Nayak <rohit@planetscale.com>
… test passes Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
This PR is being marked as stale because it has been open for 30 days with no activity. To rectify, you may do any of the following:
If no action is taken within 7 days, this PR will be closed. |
This PR was closed because it has been stale for 7 days with no activity. |
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
If a new flag is being introduced:
If a workflow is added or modified:
Bug fixes
Non-trivial changes
New/Existing features
Backward compatibility
|
@rohit-nayak-ps this will be a project, so IMO we should create a tracking issue for it. We can then repurpose this issue to be about Materialize. If you are good with that, I'll create a tracking issue — where each ticket will include everything for that command, including unit tests and any refactoring — and then start working on another command. |
Yeah, we can either create a project or a parent task. We should probably only merge the sub-tasks into v17, so that we don't have some commands moved and other not, in v16. |
This PR is being marked as stale because it has been open for 30 days with no activity. To rectify, you may do any of the following:
If no action is taken within 7 days, this PR will be closed. |
This PR was closed because it has been stale for 7 days with no activity. |
Description
When completed, this PR will migrate all current vreplication vtctl-based commands to the new vtctldserver-based approach.
The following commands will be migrated as part of this PR, in order:
Materialize, MoveTables, Reshard, CreateLookupVindex, VDiff, Mount, Migrate
We will move commands one by one to vtctld and copy over all required wrangler related functionality to get each command workfing into the
vtctl\workflow
package. The vtctl command is then stubbed to call the vtctldserver instead. e2e tests should confirm that this works.Note that since all the logic is being moved over, we will need to migrate the unit test framework and tests as well. This will be done once all commands have been ported over and the e2e tests pass.
We will also take this opportunity to refactor the code while the new unit tests are being written.
Related Issue(s)
Checklist