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

Support "read committed" isolation level where "committed" means confirmed by the voting majority of a replica set

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.7
    • Affects Version/s: None
    • Component/s: Querying, Replication
    • None
    • Fully Compatible
    • Quint Iteration 3, Quint Iteration 4, Quint Iteration 5, Quint Iteration 6, Quint Iteration 7, QuInt 8 08/28/15

      Writes in MongoDB replica sets are "committed" when the majority of voting nodes in the replica set confirm the write (n.b., arbiters cannot confirm writes). This ticket is to add a feature to query-like operations (find, count, aggregate, etc) to restrict the data observed to data known to have been committed at the replica set level. It is an approximate but imperfect analog of "w: majority" writes.

      In MongoDB deployments using an MVCC storage engine, such as WiredTiger, this behavior could be implemented by having the replication subsystem retain the newest "known committed" version of data on each node, and have the query system serve "committed" reads from that version rather than the newest version.

            Assignee:
            mathias@mongodb.com Mathias Stearn
            Reporter:
            schwerin@mongodb.com Andy Schwerin
            Votes:
            2 Vote for this issue
            Watchers:
            45 Start watching this issue

              Created:
              Updated:
              Resolved: