-
Notifications
You must be signed in to change notification settings - Fork 180
RUST-954 Pin cursor connections in load balancer mode #446
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
abr-egn
merged 34 commits into
mongodb:master
from
abr-egn:RUST-954/load-balancer-connection-pinning
Sep 14, 2021
Merged
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
1db15ce
fold Cursor construction into execute_cursor_operation
abr-egn e884e19
tidy
abr-egn ad879cd
pass connection out from execute
abr-egn b8ef956
attach connection to cursor
abr-egn 4fc93aa
don't pin for cursor id 0
abr-egn 7247301
thread connection through to cursor get more execution
abr-egn b1ffc5f
thread connection to execute_operation
abr-egn 324c0ec
continue plumbing pinned connection
abr-egn 28e00c1
name shuffling
abr-egn 1cea507
shift pinned connection to operation
abr-egn 6dff912
move PinnedConnection from GenericCursor to GetMoreProviders
abr-egn 2dff7c1
finish pinned connection migration to GetMoreProvider
abr-egn 8fdbf43
pass connection through execute; only use arc mutex for session cursor
abr-egn 2dd05a4
use pinned connection in execute_retry
abr-egn 178cf17
drop pinned connection on cursor exhaustion
abr-egn f727226
use wrapped arc mutex everywhere
abr-egn 0ac80e9
flag pinned connections invalid on network error
abr-egn c2383ab
rustfmt
abr-egn 4b66b58
lint
abr-egn a5e3d14
merge
abr-egn e7f98f1
review tidy
abr-egn c47d2f1
pin-by-id machinery
abr-egn 4722ff0
pinning via handle
abr-egn ad5e3a9
pass pinned connection via operation
abr-egn c7991cc
format and lint
abr-egn b0b76fe
review updates
abr-egn b465438
rustfmt
abr-egn e2c380a
further review revisions
abr-egn 55e8949
simpler pinning
abr-egn 9513eb2
whoops
abr-egn a2ac863
rustfmt
abr-egn 516f463
remove now-unused pinned connection data
abr-egn 4f496cb
drain channel
abr-egn 429a396
brevity
abr-egn 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
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.