[JAVA-1408] Clarify in Javadoc that $snapshot only prevents duplicates Created: 25/Aug/14  Updated: 30/Jan/15  Resolved: 07/Oct/14

Status: Closed
Project: Java Driver
Component/s: Documentation
Affects Version/s: None
Fix Version/s: 2.13.0, 3.0.0

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

Issue Links:
Depends
is depended on by DRIVERS-180 Docs and driver API refs inconsistent... Closed

 Description   

From michael.paik:

Per SERVER-14703, setting snapshot on a cursor doesn't prevent it from omitting documents in the resultset that are updated during the lifetime of the query, they only prevent dups. As such, the 'or objects missed' language needs to be changed. The parenthetical '(if an object is new during the query, or deleted during the query, it may or may not be returned, even with snapshot mode)' should become a first-class sentence something like 'If an object is created, deleted, or updated during the lifetime of a query, it may or may not be returned, even with snapshot [set to true (or lang-specific equivalent)].'



 Comments   
Comment by Githook User [ 30/Jan/15 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Clarified in Javadoc that $snapshot only prevents duplicates.

JAVA-1408
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/13b9192cd9ef1e3dba7a2fe9823fb53d86847817

Comment by Githook User [ 07/Oct/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Clarified in Javadoc that $snapshot only prevents duplicates.

JAVA-1408
Branch: 3.0.x
https://github.com/mongodb/mongo-java-driver/commit/13b9192cd9ef1e3dba7a2fe9823fb53d86847817

Comment by Githook User [ 07/Oct/14 ]

Author:

{u'username': u'jyemin', u'name': u'Jeff Yemin', u'email': u'jeff.yemin@10gen.com'}

Message: Clarified in Javadoc that $snapshot only prevents duplicates.

JAVA-1408
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/cfb19c1e21fd755cfaead5358968a841734673e3

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