-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add leak detection to Store #121482
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
Closed
nicktindall
wants to merge
17
commits into
elastic:main
from
nicktindall:ES-10641_add_leak_detection_to_store
Closed
Add leak detection to Store #121482
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
0010760
Add leak detection to Store
nicktindall 0600c53
Disable leak detection for tempStore
nicktindall e03a213
Change lifecycle for test store
nicktindall 0f70cff
Prevent test leak
nicktindall 18b9e00
Disable leak detection for unit test
nicktindall 98f8f0e
Clean up stores in test
nicktindall 11c1ad6
Merge remote-tracking branch 'origin/main' into ES-10641_add_leak_det…
nicktindall 1443d34
Don't keep wrapped ref counter in scope
nicktindall faced46
Merge remote-tracking branch 'origin/main' into ES-10641_add_leak_det…
nicktindall 9521d7e
Merge branch 'main' into ES-10641_add_leak_detection_to_store
nicktindall 94613cc
Merge branch 'main' into ES-10641_add_leak_detection_to_store
nicktindall 20cc251
Merge branch 'main' into ES-10641_add_leak_detection_to_store
nicktindall e1d9e4e
Remove detectLeaks constructor arg
nicktindall f39924e
Merge branch 'main' into ES-10641_add_leak_detection_to_store
nicktindall d27ee2d
Make ShardSnapshotContext lifecycle logic reusable
nicktindall f8cb23a
Merge branch 'main' into ES-10641_add_leak_detection_to_store
nicktindall 9b7fe8c
Merge branch 'main' into ES-10641_add_leak_detection_to_store
nicktindall 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
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
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.
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.
I'm not sure why the lifecycle was being managed like above, and whether I've fundamentally changed something here. It seems like we should have a single reference from creation, so we don't need to
incRef
?