Pass UUIDs to StorageEngineImpl::_dropCollectionsNoTimestamp instead of NamespaceStrings

XMLWordPrintableJSON

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

      _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
              Reporter:
              Daniel Gottlieb (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: