[JAVA-1200] Ensure getServer and getConnection are non blocking for async bindings Created: 01/May/14  Updated: 04/Nov/16  Resolved: 25/Nov/14

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

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

Issue Links:
Duplicate
is duplicated by JAVA-1387 Add async server connection / selecti... Closed
Epic Link: Async

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

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: DefaultConnectionPool.getAsync now opens each connection asynchronously.

JAVA-1200
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/27e75da8ec9a3aa1488d9c9827cf8c62b5b3c2ad

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Added Server.getConnectionAsync and supporting implementation in DefaultServer and DefaultConnectionPool
The connection pool implements it with a single threaded executor service and handles wait queue size and timeout enforcement

JAVA-1200
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/3b544aad086ea9b11039e1d188fbfa5ce12f7795

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Added selectServerAsync method to Cluster for efficient asynchronous server selection.
The BaseCluster implementation maintains a concurrent deque of pending server selection request
and a single background thread to iterate through them whenever a new cluster description has been published.
It supports logging, timeouts and a max wait queue size

JAVA-1200
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/2fa496aad39945a7f8bda84e3660b6ce6bd0d0a1

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Setting maxWaitQueueSize property correctly from MongoClientOptions for both ConnectionPoolSettings and ClusterSettings

JAVA-1200
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/df3328712cb8d695380544d691d8b6af8013f875

Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Added maxWaitQueueSize property to ClusterSettings

JAVA-1200
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/3d808f87e302dc61a66aa375fcb0bfc6d8be3e77

Comment by Githook User [ 25/Nov/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: DefaultConnectionPool.getAsync now opens each connection asynchronously.

JAVA-1200
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/27e75da8ec9a3aa1488d9c9827cf8c62b5b3c2ad

Comment by Githook User [ 25/Nov/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Added Server.getConnectionAsync and supporting implementation in DefaultServer and DefaultConnectionPool
The connection pool implements it with a single threaded executor service and handles wait queue size and timeout enforcement

JAVA-1200
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/3b544aad086ea9b11039e1d188fbfa5ce12f7795

Comment by Githook User [ 21/Nov/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Added selectServerAsync method to Cluster for efficient asynchronous server selection.
The BaseCluster implementation maintains a concurrent deque of pending server selection request
and a single background thread to iterate through them whenever a new cluster description has been published.
It supports logging, timeouts and a max wait queue size

JAVA-1200
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/2fa496aad39945a7f8bda84e3660b6ce6bd0d0a1

Comment by Githook User [ 21/Nov/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Setting maxWaitQueueSize property correctly from MongoClientOptions for both ConnectionPoolSettings and ClusterSettings

JAVA-1200
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/df3328712cb8d695380544d691d8b6af8013f875

Comment by Githook User [ 21/Nov/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Added maxWaitQueueSize property to ClusterSettings

JAVA-1200
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/3d808f87e302dc61a66aa375fcb0bfc6d8be3e77

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