Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-12598

Docs for SERVER-20445: Add support for majority read concern level to Aggregation $out



      $out now supports readConcern levels 'local' and 'majority' for the read part of the aggregate.

      Engineering Ticket Description:

      For SERVER-20214 we are removing support for majority read concern level in these operations because we cannot write in that mode. This ticket is to reenable support.

      The current plan is to emulate majority read concern level by waiting for w:majority in the portions of those operations that write (aggregations including $out and all map reduces) and keep the read concern level for the portions that don't (aggregations not including $out including all work from the shard phase). It is unclear right now which category inline map reduce falls under. Part of this work is to ensure that this approach is valid.

      Scope of changes

      • source/includes/fact-aggregate-readConcern.rst
        • This is included in the agg command/method pages (was missing in $out and read concern majority - so will add)
      • source/reference/operator/aggregation/out.txt
      • source/reference/read-concern-majority.txt
      • source/release-notes/4.2-compatibility.txt

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            kay.kim@mongodb.com Kay Kim (Inactive)
            kay.kim@mongodb.com Kay Kim (Inactive)
            0 Vote for this issue
            1 Start watching this issue

              5 years, 2 weeks, 5 days ago