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

settings: fix RegisterPublicNonNegativeDurationSettingWithMaximum #48758

Merged
merged 1 commit into from
May 13, 2020

Conversation

otan
Copy link
Contributor

@otan otan commented May 12, 2020

RegisterPublicNonNegativeDurationSettingWithMaximum should include the
maximum. Seems broken by ac3c72339b82d9f85fd8112977a542b87fb5e712.

Resolves #48337.

Release note (bug fix): Re-allow
diagnostics.forced_sql_stat_reset.interval,
diagnostics.sql_stat_reset.interval and external.graphite.interval
to set to their maximum values (24hr, 24hr and 15min respectively). This
previously only excluded these values to be allowed.

@otan otan requested a review from rohany May 12, 2020 23:38
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@rohany rohany left a comment

Choose a reason for hiding this comment

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

F I'm not the timelord it seems

@otan
Copy link
Contributor Author

otan commented May 12, 2020

bors r=rohany

@blathers-crl
Copy link

blathers-crl bot commented May 13, 2020

❌ The GitHub CI (Cockroach) build has failed on 8fadaa14.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

@craig
Copy link
Contributor

craig bot commented May 13, 2020

Build failed

`RegisterPublicNonNegativeDurationSettingWithMaximum` should include the
maximum. Seems broken by `ac3c72339b82d9f85fd8112977a542b87fb5e712`.

Release note (bug fix): Re-allow
`diagnostics.forced_sql_stat_reset.interval`,
`diagnostics.sql_stat_reset.interval` and `external.graphite.interval`
to set to their maximum values (24hr, 24hr and 15min respectively). This
previously only excluded these values to be allowed.
@blathers-crl
Copy link

blathers-crl bot commented May 13, 2020

❌ The GitHub CI (Cockroach) build has failed on 41055e9a.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

@otan
Copy link
Contributor Author

otan commented May 13, 2020

bors r=rohany

@craig
Copy link
Contributor

craig bot commented May 13, 2020

Build succeeded

@craig craig bot merged commit 3531318 into cockroachdb:master May 13, 2020
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.

[bug: v20.1.0-rc.2] diagnostics sql reporting statistics max interval misleading or wrongly calculated
3 participants