renameCollection across databases should not require an uninterruptible database X lock while cleaning up temp collections

XMLWordPrintableJSON

    • Fully Compatible
    • Storage NYC 2018-12-31
    • 5
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Rename collection across databases creates temporary collections and, in the case of an error, drops these temporary collections. Dropping temporary collections acquires a Database X lock in a destructor which must succeed. If this thread is the only accessor of the temporary collections, there is no need to take such a strong lock.

            Assignee:
            Eric Milkie
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: