-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.2.1
-
Component/s: Connectivity
-
None
The work that was done earlier to support using the Find command (when connected to a server that supports the Find command) inadvertently caused the connection to be kept checked out of the connection pool for the lifetime of the AsyncCursor.
Before this change the connection was released back to the pool between calls to GetMore. The prior behavior is considered desirable because it allows the connection to be used for other purposes in the meantime, increasing the throughput possible with a given number of connections.