Skip to content
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

MoveTables: Document --no-routing-rules #1573

Merged
merged 3 commits into from
Aug 31, 2023

Conversation

rohit-nayak-ps
Copy link
Contributor

Documents flag added in vitessio/vitess#13895

@netlify
Copy link

netlify bot commented Aug 30, 2023

Deploy Preview for vitess ready!

Name Link
🔨 Latest commit 2ad21e9
🔍 Latest deploy log https://app.netlify.com/sites/vitess/deploys/64f0b354ac570500089241f7
😎 Deploy Preview https://deploy-preview-1573--vitess.netlify.app/docs/18.0/reference/programs/vtctldclient/vtctldclient_movetables/vtctldclient_movetables_create
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Collaborator

@mattlord mattlord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need to update the vtctldclient docs. You can generate them this way from the website repo:

go run ./tools/vtctldclientdocs/ --vitess-dir ${VTROOT} --version-pairs "rohit/movetables-no-routing-rules-main:18.0"

You'll need to do it for whatever versions we're changing.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we back porting the PR? The PR doesn't have any backport labels ATM.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(there's also a make target that does this for you)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep! Then you just need to set some env vars (you'll see which if you look at the Makefile).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, generated. No, we are not backporting. Documenting now only for v18.

Signed-off-by: Rohit Nayak <rohit@planetscale.com>
Signed-off-by: Rohit Nayak <rohit@planetscale.com>
@rohit-nayak-ps rohit-nayak-ps force-pushed the rohit/movetables-no-routing-rules-main branch from 4958651 to 896c3ab Compare August 31, 2023 15:07
@@ -25,6 +25,7 @@ vtctldclient --server localhost:15999 movetables --workflow commerce2customer --
--defer-secondary-keys Defer secondary index creation for a table until after it has been copied
--exclude-tables strings Source tables to exclude from copying
-h, --help help for create
--no-routing-rules (Advanced) MoveTables Create only. Do not create routing rules while creating the workflow. See the reference documentation for limitations if you use this flag.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, didn't we remove the MoveTables Create only. part in vtctldclient since that is enforced properly in the code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I thought so too ... Removed locally and regenerated docs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, figured it out. Had accepted the change in the UI but not pulled the changes ...

Signed-off-by: Rohit Nayak <rohit@planetscale.com>
@rohit-nayak-ps rohit-nayak-ps merged commit 133c66c into prod Aug 31, 2023
6 checks passed
@rohit-nayak-ps rohit-nayak-ps deleted the rohit/movetables-no-routing-rules-main branch August 31, 2023 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants