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

Allow modification of tablet unhealthy_threshold via debugEnv #7753

Merged
merged 7 commits into from
Apr 22, 2021

Conversation

aquarapid
Copy link
Contributor

@aquarapid aquarapid commented Mar 27, 2021

WDYT? Obviously not very clean, so open to suggestions. One thing is that modifying the Config flag isn't atomic, but that's probably fine, since we don't read from it after Init?

Fixes: #7939

debugEnv.

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
@aquarapid aquarapid requested a review from sougou March 27, 2021 05:03
Copy link
Contributor

@sougou sougou left a comment

Choose a reason for hiding this comment

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

Looks good. One nit.

go.mod Outdated Show resolved Hide resolved
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
@aquarapid aquarapid changed the title First cut at allowing modification of tablet unhealthy_threshold via debugEnv Allow modification of tablet unhealthy_threshold via debugEnv Apr 6, 2021
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
@aquarapid aquarapid marked this pull request as ready for review April 6, 2021 22:14
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
@deepthi
Copy link
Member

deepthi commented Apr 12, 2021

@aquarapid does this need to go into 10.0?

@aquarapid
Copy link
Contributor Author

@deepthi it's a bit late, but yes, if possible.

Signed-off-by: Jacques Grove <aquarapid@gmail.com>
Signed-off-by: Jacques Grove <aquarapid@gmail.com>
@deepthi deepthi merged commit 5ed08b7 into vitessio:master Apr 22, 2021
@deepthi deepthi deleted the jg_unhealthy_threshold branch April 22, 2021 21:35
@deepthi
Copy link
Member

deepthi commented Apr 22, 2021

Oops! Forgot that we need an issue. Can you create one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Query Serving Type: Enhancement Logical improvement (somewhere between a bug and feature)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow users to modify tablet unhealthy_threshold without a restart of vtgates
4 participants