-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
fix: enforce bounds on query-related CLI/config parameters to avoid startup panics #20149
Conversation
ead83ba
to
10db735
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can proceed without my issues if you think they are not useful. Won't block the commit for these minor nits.
10db735
to
c86d666
Compare
@@ -34,7 +36,6 @@ want to use the default. | |||
1. [20053](https://github.com/influxdata/influxdb/pull/20053): Upgrade Flux to v0.95.0. | |||
1. [20058](https://github.com/influxdata/influxdb/pull/20058): UI: Upgrade flux-lsp-browser to v0.5.23. | |||
1. [20067](https://github.com/influxdata/influxdb/pull/20067): Add DBRP cli commands as `influxd v1 dbrp`. | |||
1. [20097](https://github.com/influxdata/influxdb/pull/20097): Ensure Index.Walk fetches matching foreign keys only. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Accidentally filed under the wrong release
Extensive changes, worth another look
744d01d
to
ba10539
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks much safer. Comments are outstanding!
Closes #20144
math.MaxInt32
is the biggest value that theWaitGroup
wrapped in the query controller will accept without panicking. When I try runninginfluxd
with that parameter it takes a loooooong time to boot up, but I assume it'd be faster on a beefed-up VM.