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

Delete KEEP_MUTATIONS stage

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.2
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Fully Compatible
    • Quint 9 09/18/15, QuInt E (01/11/16), Query 2018-07-30, Query 2018-08-13

      The KEEP_MUTATIONS query execution stage was originally intended to make a best effort at returning concurrently modified documents from queries against a node configured to use the MMAP storage engine. However, the necessity of this stage is dubious. My reading of the implementation is that is is only necessary if buffered documents are concurrently updated during the execution of an index intersection plan.

      Deleting KEEP_MUTATIONS would be welcome code removal that would help to simplify some tricky pieces of the query planner and query execution engine.

            Assignee:
            david.storch@mongodb.com David Storch
            Reporter:
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: