[CSHARP-1025] Assign connections out of the connection pool in FIFO order Created: 05/Aug/14 Updated: 31/Mar/22 |
|
| Status: | Backlog |
| Project: | C# Driver |
| Component/s: | Connectivity |
| Affects Version/s: | 1.9.2 |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Minor - P4 |
| Reporter: | Robert Stam | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
The connection pool has a wait queue that is used to queue up requests for a connection when all existing connections are already checked out. The current implementation of the wait queue (C# driver version 1.9.x) pulls waiting callers out of the wait queue in random order, which means that some threads might end up waiting far longer than expected. Some drivers satisfy requests for connections from the connection pool in FIFO order. |