-
Notifications
You must be signed in to change notification settings - Fork 682
Add mechanism to detect leaked references to mimirpb buffers #13609
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
Draft
tcard
wants to merge
40
commits into
main
Choose a base branch
from
instrument-ref-leaks
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+408
−23
Draft
Changes from 30 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
8b48ad9
Add mechanism to detect leaked references to mimirpb buffers.
tcard 56fd9b0
Simplify test.
tcard 0b57a52
Plumb ingester with ref leaks detection.
tcard f27be92
Fix lint, test.
tcard 86258b7
More fixing.
tcard 71f14aa
Fix racy test
tcard f1ab684
make doc
tcard f6a6b41
CHANGELOG.
tcard ef1d54e
about-versioning.md
tcard 69ca33a
Revert "mimirpb: Clone metadata fields rather than maintaining refere…
tcard 9d6d2d0
Make test deterministic.
tcard efc7fec
Fix mimirpb build.
tcard 9012300
Reapply "mimirpb: Clone metadata fields rather than maintaining refer…
tcard a6eb3e6
Lint.
tcard a6e1c78
make license
tcard de97dd5
Fixes from Cursor review.
tcard da56796
Apply suggestions from code review
tcard 7ca73a3
pct -> percentage
tcard d9afc39
Don't rely on GC; use mmap/munmap instead.
tcard 466a6de
Don't instrument empty buffers.
tcard 628ee24
Atomic ref count.
tcard 2dbb9a6
make reference-help
tcard 4180411
Merge branch 'main' into instrument-ref-leaks
tcard de52a8a
Move things around to ensure no mmap leak.
tcard 4b0636e
Reword description.
tcard c10028f
Register default global codec on init.
tcard 25fef18
Don't wrap encoding.CodecV2.
tcard a47d9c2
Fewer public globals.
tcard 49fc9a2
Document that pool won't be used, and make it explicitly so.
tcard b39485d
Wait before munmapping.
tcard 8bff504
Consistent naming.
tcard e5f7446
Fix YAML unmarshaling.
tcard 375561b
Propagate InstrumentRefLeaksBeforeReusePeriod.
tcard 325f3c6
Forgot to mprotect.
tcard a3ff570
Merge branch 'main' of github.com:grafana/mimir into instrument-ref-l…
tcard 739133c
Missing FreeBuffer in test.
tcard fc76511
blockbuilder: defer WriteRequest.FreeBuffer
tcard 5785b01
Fix test build.
tcard f44250c
Add max-inflight-instrumented-bytes.
tcard ff97b8c
Pass inflightInstrumentedBytes around.
tcard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.