[JAVA-772] If cursor is not found by the server, report in the exception the cursor that was requested Created: 27/Feb/13  Updated: 19/Mar/13  Resolved: 05/Mar/13

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.11.0

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

Backwards Compatibility: Fully Compatible

 Description   

Currently the driver reports the cursor id as returned by the server, which at least in some cases is 0, and not the actually requested cursor id.

This behavior should be changed to report the actually requested cursor id.



 Comments   
Comment by auto [ 13/Mar/13 ]

Author:

{u'date': u'2013-03-13T02:56:51Z', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-772: Added test to ensure CursorNotFoundException is properly thrown
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/254eb70621c06cd22a3d7876eb6f79677242676b

Comment by auto [ 05/Mar/13 ]

Author:

{u'date': u'2013-02-27T15:28:41Z', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: JAVA-772: If cursor is not found by the server, report in the exception the cursor that was requested
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/5391df18a8468089fe51fce6cd209c3e7fd5b6c9

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