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

Update throttler config docs for v17 #1489

Merged
merged 2 commits into from
Jun 6, 2023
Merged

Update throttler config docs for v17 #1489

merged 2 commits into from
Jun 6, 2023

Conversation

shlomi-noach
Copy link
Contributor

Updating docs per changes in vitessio/vitess#13130:

  • throttler-config-via-topo now defaults true
  • per-tablet throttler configuration flags are scheduled to be deprecated

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@netlify
Copy link

netlify bot commented Jun 5, 2023

Deploy Preview for vitess ready!

Name Link
🔨 Latest commit 61bfb9f
🔍 Latest deploy log https://app.netlify.com/sites/vitess/deploys/647dfbc97f929800083767a8
😎 Deploy Preview https://deploy-preview-1489--vitess.netlify.app/docs/17.0/reference/features/tablet-throttler
📱 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.

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.

Just a couple of nits. Thanks!


In `v16`, throttler configuration is found in the [local topology server](../../../concepts/topology-service/). There is one configuration per keyspace. All shards and all tablets in all cells have the same throttler configuration: they are all enabled or disabled, and all share the same threshold or custom query. Since configuration is stored outside the tablet, it survives tablet restarts.
In `v17`, and as of `v16`, throttler configuration is found in the [local topology server](../../../concepts/topology-service/). There is one configuration per keyspace. All shards and all tablets in all cells have the same throttler configuration: they are all enabled or disabled, and all share the same threshold or custom query. Since configuration is stored outside the tablet, it survives tablet restarts.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd just say v17 here since it was experimental in v16 and the section title is v17 an forward.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed


### v15 and before
### v16, v15 and before
Copy link
Collaborator

Choose a reason for hiding this comment

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

We can just say v16 and before.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed

@mattlord
Copy link
Collaborator

mattlord commented Jun 5, 2023

Unrelated to the PR, but since we're editing the page, we should also turn the single dashes to double dashes in the code snippet at the end of this section: https://deploy-preview-1489--vitess.netlify.app/docs/17.0/reference/features/tablet-throttler/#v16-v15-and-before

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
@shlomi-noach
Copy link
Contributor Author

fixed single->double dashes

@shlomi-noach shlomi-noach merged commit 08837b7 into prod Jun 6, 2023
@shlomi-noach shlomi-noach deleted the v17-throttler-docs branch June 6, 2023 03:01
ajm188 pushed a commit that referenced this pull request Jun 26, 2023
* Update throttler config docs for v17

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>

* fixed per reivew

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>

---------

Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.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.

2 participants