Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-103727

Improve the semantics of read operations using coll scan or _id index scan in the presence of concurrent shard key value updates

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket originated from issues 5 and 6 from the "Known situations where contracts unmet" section of the MongoDB Server read and write semantics doc.

      This issue applies to read operations using coll scan or _id index scan with "rc:local", "rc:majority", and "rc:linearizable" running inside or outside of a transaction.

      Such read operations, when run concurrently with shard key value updates, can miss documents or visit the same document multiple times, violating the semantics in the read/write semantics doc (linked above).

      The goal of this ticket is to improve the implementation of read operations using coll scan or _id index scan so that such read operations do not miss documents or visit the same documents multiple times when there are concurrent shard key value updates running.

            Assignee:
            Unassigned Unassigned
            Reporter:
            andrew.paroski@mongodb.com Drew Paroski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: