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

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

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

      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@mongodb.com Arun Banala
            Reporter:
            charlie.swanson@mongodb.com Charlie Swanson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: