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

Pass UUIDs to StorageEngineImpl::_dropCollectionsNoTimestamp instead of NamespaceStrings

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Storage
    • Fully Compatible
    • Execution Team 2021-03-22

      _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.

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

              Created:
              Updated:
              Resolved: