Skip to content

Document vtadmin flags in programs/reference/vtadmin#1019

Merged
doeg merged 5 commits intoprodfrom
sarabee-vtadmin-flags
May 12, 2022
Merged

Document vtadmin flags in programs/reference/vtadmin#1019
doeg merged 5 commits intoprodfrom
sarabee-vtadmin-flags

Conversation

@doeg
Copy link
Contributor

@doeg doeg commented May 6, 2022

Signed-off-by: Sara Bee 855595+doeg@users.noreply.github.com

🔬 Staging: https://deploy-preview-1019--vitess.netlify.app/docs/14.0/reference/programs/vtadmin/

I extracted this from #1012, since these flag references tend to get out of date quickly so we may as well put a stake in the ground! (The schema caching PR adds a few, as will single-component vtadmin.)

Two small things I changed after pilfering this from #1012:

  • I had initially referred to the binary as vtadmin-api but it's actually called vtadmin (which makes even more sense in light of single-component vtadmin, so 🎉 for once naming worked out nicely!)

  • I addressed this comment about wording (thank you!)

I intentionally did not add these to the 13.0 docs, since I'll have to go back and actually git checkout that tag + see if there are any inconsistencies.

For full disclosure, I know we have some kind of tooling in vitessio/vitess to generate documentation, but in the interests of getting this out the door, I just wrote these cursed markdown tables by hand. 🤷

Signed-off-by: Sara Bee <855595+doeg@users.noreply.github.com>
@doeg doeg requested review from ajm188, deepthi and notfelineit May 6, 2022 17:41
doeg added 2 commits May 6, 2022 13:42
Signed-off-by: Sara Bee <855595+doeg@users.noreply.github.com>
Signed-off-by: Sara Bee <855595+doeg@users.noreply.github.com>
@netlify
Copy link

netlify bot commented May 6, 2022

Deploy Preview for vitess ready!

Name Link
🔨 Latest commit 34d3a2d
🔍 Latest deploy log https://app.netlify.com/sites/vitess/deploys/627d13b613fd6a0009b1979c
😎 Deploy Preview https://deploy-preview-1019--vitess.netlify.app/docs/14.0/reference/programs/vtadmin
📱 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 settings.

@vitessio vitessio deleted a comment from netlify bot May 6, 2022
@vitessio vitessio deleted a comment from netlify bot May 6, 2022
Copy link
Contributor

@ajm188 ajm188 left a comment

Choose a reason for hiding this comment

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

one nitpick on the duration types, then feel free to merge!

Comment on lines +14 to +15
| `lame-duck-duration` | Optional | seconds | 5s | The length of the lame duck period at shutdown. |
| `lmux-read-timeout` | Optional | seconds | 1s | How long to spend connection muxing. |
Copy link
Contributor

Choose a reason for hiding this comment

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

technically, these are of type time.Duration, not "seconds" (i'm not just being a pedant here (but SORRY), but this means you can pass a value of, say, 1h as well)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh thank you! Not pedantic at all!! I was unsure about it + forgot to flag it for you so thanks for catching it.

doeg added 2 commits May 12, 2022 10:02
Signed-off-by: Sara Bee <855595+doeg@users.noreply.github.com>
Signed-off-by: Sara Bee <855595+doeg@users.noreply.github.com>
@doeg doeg merged commit 5af9c6a into prod May 12, 2022
@doeg doeg deleted the sarabee-vtadmin-flags branch May 12, 2022 14:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants