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

Pass UUIDs to StorageEngineImpl::_dropCollectionsNoTimestamp instead of NamespaceStrings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 4.9.0
    • Storage
    • Fully Compatible
    • Execution Team 2021-03-22

    Description

      _dropCollectionsNoTimestamp accepts NamespaceStrings to finish drops as part of a dropDatabase command. While we believe all calls into that are correct, it would be safer to accept a vector of collection UUIDs instead of performing the NSS -> UUID lookup internally. This will help guard against any anomalies due to removing locks around DDL operations.

      Attachments

        Activity

          People

            bynn.lee@mongodb.com Bynn Lee
            daniel.gottlieb@mongodb.com Daniel Gottlieb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: