Details
-
New Feature
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
Description
The rules for connection pinning in LB mode have changed. For cursors:
- No pinning if the cursor ID is 0 (i.e. all results are returned in a single batch)
- Unpin once the cursor ID returned from getMore is 0 (i.e. the cursor has been drained)
- Unpin once the cursor is closed.
For transactions, the rules will be the same as those for pinning sessions to servers in non-LB sharded transactions.