You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
loqgl.ParseExpr has been modified to use a defer/recover to recover from
a panic caused by a failed regex parse in the parser.
A defer and panic were used over adding an error return into
mustNewMatcher by imitating how Go's parser works[1]: the exposed
interface returns an error while the internal mechanisms use panic. This
simplifies the design and implementation of the parser.
Closesgrafana#949.
[1]: https://golang.org/src/go/parser/interface.go#L92
All ingesters will crash given a malformed regex label query like
{cluster=~"*"}
:The text was updated successfully, but these errors were encountered: