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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.9
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Query 2019-02-25, Query 2019-03-11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Arun Banala
            Reporter:
            Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: