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

Replace all vtctlclient usage for vreplication commands #1619

Merged
merged 24 commits into from
Oct 16, 2023

Conversation

mattlord
Copy link
Collaborator

@mattlord mattlord commented Oct 11, 2023

Fixes: vitessio/vitess#14206

Note
Once I get approval on the changes, then I'll copy them to the v18 docs.

@netlify
Copy link

netlify bot commented Oct 11, 2023

Deploy Preview for vitess ready!

Name Link
🔨 Latest commit c5599d1
🔍 Latest deploy log https://app.netlify.com/sites/vitess/deploys/652d63132aa37300084776d6
😎 Deploy Preview https://deploy-preview-1619--vitess.netlify.app
📱 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.

@mattlord mattlord force-pushed the vtctldclient_everywhere branch 9 times, most recently from a0a68ef to 03eedea Compare October 11, 2023 22:52
@@ -89,7 +89,6 @@ As a result, connection pools should be sized mindful of the capacity of the und
#### `--db_allprivs_user`

* (default 'vt_allprivs')
* Created on demand by `vtctlclient ExecuteFetchAsAllPrivs`
Copy link
Member

Choose a reason for hiding this comment

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

Why are we not keeping this for vtctldclient,

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

There's no ExecuteFetchAsAllPrivs vtctldclient command. I'm not sure that we need one either.

/cc @ajm188

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 no equivalent RPC for vtctld server. this was deliberate, as me, @deepthi and others agreed it was no longer needed

@@ -31,7 +31,7 @@ All of the command options and parameters are listed in our [reference page for
Let's start by loading some sample data:

```bash
$ mysql < ../common/insert_commerce_data.sql
Copy link
Member

Choose a reason for hiding this comment

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

Should we remove the $ in all shell snippet?

Copy link
Collaborator Author

@mattlord mattlord Oct 12, 2023

Choose a reason for hiding this comment

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

Not necessary, but the general standard (markdown linter e.g.) is that you do NOT include the prompt if the command is not run and thus the output not shown (but instead you're only showing the command that the reader should run). That's why I removed it here, as we do not include the command output.

@mattlord mattlord force-pushed the vtctldclient_everywhere branch from 03eedea to da26e25 Compare October 11, 2023 23:40
Signed-off-by: Matt Lord <mattalord@gmail.com>
@mattlord mattlord force-pushed the vtctldclient_everywhere branch from da26e25 to da9b567 Compare October 11, 2023 23:44
Those will have to be done separately

Signed-off-by: Matt Lord <mattalord@gmail.com>
@mattlord mattlord changed the title Replace all vtctlclient usage Replace all vtctlclient usage for vreplication commands Oct 12, 2023
@mattlord mattlord marked this pull request as ready for review October 12, 2023 00:05
Signed-off-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: Matt Lord <mattalord@gmail.com>
@mattlord mattlord marked this pull request as draft October 13, 2023 16:59
Signed-off-by: Matt Lord <mattalord@gmail.com>
@mattlord mattlord force-pushed the vtctldclient_everywhere branch 6 times, most recently from cef99d2 to 71ce78d Compare October 14, 2023 15:48
Signed-off-by: Matt Lord <mattalord@gmail.com>
@mattlord mattlord force-pushed the vtctldclient_everywhere branch from 9a78349 to 51846fe Compare October 15, 2023 17:13
Signed-off-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: Matt Lord <mattalord@gmail.com>
@mattlord mattlord force-pushed the vtctldclient_everywhere branch from d1a02e7 to 9dc4e14 Compare October 15, 2023 18:33
@mattlord mattlord force-pushed the vtctldclient_everywhere branch 2 times, most recently from d516944 to 0c38eb2 Compare October 15, 2023 19:07
Signed-off-by: Matt Lord <mattalord@gmail.com>
@mattlord mattlord force-pushed the vtctldclient_everywhere branch from 0c38eb2 to 9970fad Compare October 15, 2023 19:07
Signed-off-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: Matt Lord <mattalord@gmail.com>
@mattlord mattlord marked this pull request as ready for review October 15, 2023 19:39
Signed-off-by: Matt Lord <mattalord@gmail.com>
the Materialize, Mount, and Migrate commands are not
documented yet. I will open a separate PR to rebuild
the reference docs.

Signed-off-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: Matt Lord <mattalord@gmail.com>
Copy link
Contributor

@rohit-nayak-ps rohit-nayak-ps left a comment

Choose a reason for hiding this comment

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

Nice, thanks for the ton of work required to do this!

@mattlord mattlord force-pushed the vtctldclient_everywhere branch from 2e19dfd to 84ccc40 Compare October 16, 2023 15:15
Signed-off-by: Matt Lord <mattalord@gmail.com>
Signed-off-by: Matt Lord <mattalord@gmail.com>
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.

Update any vtctlclient VReplication command usage in the Vitess website docs for v18+
6 participants