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

Ensure $out with replaceCollection can clean up temp collection after interrupt

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.9
    • None
    • None
    • Fully Compatible
    • ALL
    • Query 2019-02-25, Query 2019-03-11

    Description

      Right now it seems to be the case that an interrupt will flag the OperationContext in a way that makes it impossible to take any more locks. We need to take a lock one more time to drop the temp collection.

      First, we should verify whether this is actually an issue. If it is, we can take the same approach we took in MapReduce as part of SERVER-38480.

      Attachments

        Issue Links

          Activity

            People

              arun.banala@mongodb.com Arun Banala
              charlie.swanson@mongodb.com Charlie Swanson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: