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

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

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

      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:
            milkie@mongodb.com Eric Milkie
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: