[JAVA-1547] SingleConnectionBinding should share a connection if the readPreference is primary Created: 13/Nov/14  Updated: 30/Jan/15  Resolved: 13/Nov/14

Status: Closed
Project: Java Driver
Component/s: Connection Management, Test Coverage
Affects Version/s: None
Fix Version/s: 3.0.0

Type: Improvement Priority: Major - P3
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Currently SingleConnectionBinding has two connections one for reads and one for writes. If the readPreference is primary they should share a connection.



 Comments   
Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Normalised SingleConnectionBinding and AsyncSingleConnectionBinding

Put both in driver-core/src/test
JAVA-1547
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/f66c95b5d70f2250fdce3b9da704211b0dbd9f75

Comment by Githook User [ 13/Nov/14 ]

Author:

{u'username': u'rozza', u'name': u'Ross Lawley', u'email': u'ross.lawley@gmail.com'}

Message: Normalised SingleConnectionBinding and AsyncSingleConnectionBinding

Put both in driver-core/src/test
JAVA-1547
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/f66c95b5d70f2250fdce3b9da704211b0dbd9f75

Generated at Thu Feb 08 08:54:53 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.