We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There's a potential problem with pkg/gate package.
prometheus/promql/engine.go
Lines 387 to 390 in ead0933
The current gate implementation can easily panic if length is 0.
prometheus/pkg/gate/gate.go
Line 44 in 4c52400
If capacity 0, Start return because timeout.
Two proposals:
The text was updated successfully, but these errors were encountered:
Do you have a way to reproduce this?
Sorry, something went wrong.
Friendly ping @johncming
I try it but not find a way to reproduce. I find this issue when reading code.
Hello from the bug scrub.
We assume that the case raised in this issue can never happen. Closing, but please feel free to follow up with more evidence.
No branches or pull requests
There's a potential problem with pkg/gate package.
prometheus/promql/engine.go
Lines 387 to 390 in ead0933
The current gate implementation can easily panic if length is 0.
prometheus/pkg/gate/gate.go
Line 44 in 4c52400
If capacity 0, Start return because timeout.
Two proposals:
The text was updated successfully, but these errors were encountered: