Make Map-Reduce fully interruptible

XMLWordPrintableJSON

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

      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
              Reporter:
              Siyuan Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: