|
Author:
{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}
Message: Updated specification of MongoCursor to indicate that getServerCursor can be null if no cursor was created or if its been exhausted or kill.
Changed QueryBatchCursor implementation of getServerCursor to return null if it's been killed, whereas before it returned the value of the killed cursor.
By returning null in this case, DBCursor no longer redundantly kills a cursor in its finalizer.
JAVA-1856
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/d5697d40c7bd123ef4942349e2ff9662cff06220
|