-
Notifications
You must be signed in to change notification settings - Fork 8.8k
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
promql.ActiveQueryTracker: Unmap mmapped file when done #14000
Conversation
6ecd506
to
fd57350
Compare
a021167
to
0035609
Compare
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
0035609
to
aabe4d6
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.
Thanks!
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
@machine424 I pushed a revision also to fix flakiness in |
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.
lgtm, thanks.
just some nits and ideas for the future :)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
Fix
promql.ActiveQueryTracker
so that it unmaps any mmapped file in itsClose
method. Also fixTestMMapFile
so it releases resources.Related to #13948.