-
Notifications
You must be signed in to change notification settings - Fork 455
CDRIVER-4113: Thread-safe pool for server session objects #847
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
Merged
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
77b0eaf
CXX-4113: Thread-safe pool for server session objects
vector-of-bool da8b2ae
Remove unused node pointers on server sessions
vector-of-bool 93abae4
Track pool size, and don't loop while holding the lock to clear
vector-of-bool a96145d
Missing dist listing for ts-pool files
vector-of-bool 783ff1e
Cleanup and some redesign of pool API
vector-of-bool cf0528e
Declare special pool for server sessions
vector-of-bool fd0af0d
Fix pruning pool not leaking the 10,001st session
vector-of-bool 95ba5e5
Use typed pool fns
vector-of-bool bc6e22e
Visiting pool items, and checking that items are returned to the pool
vector-of-bool a967c74
Merge branch 'master' into CDRIVER-4113
vector-of-bool e9af59e
Fix unacknowledged sessions tests
vector-of-bool 978529f
Merge remote-tracking branch 'upstream/master' into CDRIVER-4113
vector-of-bool 750aa74
Merge branch 'master' into CDRIVER-4113
vector-of-bool ea7a98d
Fix missing 'inline's
vector-of-bool c8efbae
Mention the LIFO nature of the thread-pool, and the non-conformance o…
vector-of-bool 653f966
auditing the pool is compile-time optional
vector-of-bool 7cebe51
Missed some PR comments
vector-of-bool 9441b1c
Remove -Waggregate-return
vector-of-bool 8f113c9
No being clever with pool auditing
vector-of-bool fde797e
Merge remote-tracking branch 'upstream/master' into CDRIVER-4113
vector-of-bool eb35bb2
Fix unused variables and function warnings
vector-of-bool 4802f10
Fix leak of mongoc_server_session_t::lsid in case of uuid failure
vector-of-bool 16752df
Address pr comments
vector-of-bool 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
-Wall | ||
-Waggregate-return | ||
-Wdeclaration-after-statement | ||
-Wempty-body | ||
-Wformat | ||
|
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.
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.