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

Make Map-Reduce fully interruptible

    • Fully Compatible
    • Query 2019-01-14, Query 2019-01-28, Query 2019-02-11

      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.

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

              Created:
              Updated:
              Resolved: