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

Allow aggregation $mergeCursors stage to run inside a transaction

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.7
    • None
    • Fully Compatible
    • Query 2018-12-03, Query 2018-12-17, Query 2018-12-31

    Description

      We banned aggregations within transactions on mongos as part of SERVER-33660, because doing so could potentially cause a deadlock. We should investigate how to perform a $mergeCursors against the same shard without inducing a deadlock. One idea is to avoid going over the network for a local cursor.

      Attachments

        Issue Links

          Activity

            People

              ian.boros@mongodb.com Ian Boros
              charlie.swanson@mongodb.com Charlie Swanson
              Votes:
              0 Vote for this issue
              Watchers:
              13 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: