[CSHARP-224] MongoCursorEnumerator GetMore throws an exception if enumeration is within the scope of a RequestStart Created: 05/May/11  Updated: 02/Apr/15  Resolved: 05/May/11

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.1

Type: Bug Priority: Minor - P4
Reporter: Robert Stam Assignee: Robert Stam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

MongoCursorEnumerator GetMore is getting the connection directly from the server instance so when the call is within a scope of a RequestStart and then throws an exception in ReleaseConnection because the connection is not the same one being held by the request. GetMore should get its connection from the server, not from the server instance.



 Comments   
Comment by Robert Stam [ 05/May/11 ]

Fixed.

Generated at Wed Feb 07 21:36:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.