-
Notifications
You must be signed in to change notification settings - Fork 67
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
panic on orig_bytes pool key #2960
Comments
brim-bot
pushed a commit
to brimdata/brimcap
that referenced
this issue
Aug 27, 2021
…nt use" by nwt This is an auto-generated commit with a Zed dependency update. The Zed PR brimdata/super#2969, authored by @nwt, has been merged. lake: make rangeWrapper filters safe for concurrent use Because of concurrency in the ZNG scanner, separate filters returned by a zbuf.Filter's methods must be safe for concurrent use in separate goroutines. Filters returned by lake.rangeWrapper.AsFilter do not have this property because they share the single expr.ValueCompareFn in rangeWrapper.compare. Fix this by creating a new expr.ValueCompareFn for each filter returned. Closes brimdata/super#2960.
brim-bot
pushed a commit
to brimdata/brimcap
that referenced
this issue
Aug 27, 2021
…nt use" by nwt This is an auto-generated commit with a Zed dependency update. The Zed PR brimdata/super#2969, authored by @nwt, has been merged. lake: make rangeWrapper filters safe for concurrent use Because of concurrency in the ZNG scanner, separate filters returned by a zbuf.Filter's methods must be safe for concurrent use in separate goroutines. Filters returned by lake.rangeWrapper.AsFilter do not have this property because they share the single expr.ValueCompareFn in rangeWrapper.compare. Fix this by creating a new expr.ValueCompareFn for each filter returned. Closes brimdata/super#2960.
brim-bot
pushed a commit
to brimdata/zui
that referenced
this issue
Aug 27, 2021
…nt use" by nwt This is an auto-generated commit with a Zed dependency update. The Zed PR brimdata/super#2969, authored by @nwt, has been merged. lake: make rangeWrapper filters safe for concurrent use Because of concurrency in the ZNG scanner, separate filters returned by a zbuf.Filter's methods must be safe for concurrent use in separate goroutines. Filters returned by lake.rangeWrapper.AsFilter do not have this property because they share the single expr.ValueCompareFn in rangeWrapper.compare. Fix this by creating a new expr.ValueCompareFn for each filter returned. Closes brimdata/super#2960.
I've verified in Zed commit a2b7592 that this no longer causing a panic.
However, revisiting the spirit of what was originally being attempted, it does seem like this should have produced some output, since I can see values of the pool key in the specified range.
I've opened separate issue #2970 to track this. Thanks @nwt! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@aousterh found this bug experimenting with different pool keys.
Reproduce with:
gives
The text was updated successfully, but these errors were encountered: