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

Add support for majority read concern level to Aggregation $out

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.6
    • None
    • Fully Compatible
    • Query 2018-07-16, Query 2018-07-30, Query 2018-10-22, Query 2018-11-05, Query 2018-11-19

    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.

      Attachments

        1. SERVER-20445.patch
          6 kB
        2. readMajorityOut.patch
          6 kB
        3. readMajorityOut.patch
          8 kB
        4. decipheredBt.txt
          7 kB
        5. decipheredBt.txt
          14 kB

        Issue Links

          Activity

            People

              martin.neupauer@mongodb.com Martin Neupauer
              mathias@mongodb.com Mathias Stearn
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: