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

Make Map-Reduce fully interruptible

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      Query 2019-01-14, Query 2019-01-28, Query 2019-02-11

      Description

      We disallow interruptions in Map-Reduce on single node and on shards. They will conflict with prepared transactions on stepdown and shutdown. We can either make Map-Reduce interruptible or use weaker IX and IS locks instead. 

      dropTempCollections() is also protected by UninterruptibleLockGuard. If the temp collections are only in local database as done by SERVER-35365, they won't conflict with prepared transactions. This ticket should also audit that.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              justin.seyster Justin Seyster
              Reporter:
              siyuan.zhou Siyuan Zhou
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: