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

Pass UUIDs to StorageEngineImpl::_dropCollectionsNoTimestamp instead of NamespaceStrings

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor - P4
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Storage
    • Labels:
      None

      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

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: