Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1408

Clarify in Javadoc that $snapshot only prevents duplicates

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.13.0, 3.0.0
    • Affects Version/s: None
    • Component/s: Documentation
    • None

      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)].'

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            barrie Barrie Segal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: