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

Do not allow a collection to be created with the UUID of an existing collection

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • ALL
    • Execution Team 2019-08-12
    • 51

      There are no assertions, invariants, or errors thrown in DatabaseImpl::createCollection if a collection is created using the UUID of a collection that already exists in the UUIDCatalog.

      Creating a new collection with an existing UUID results in theĀ UUIDCatalog::onCreateCollection observer removing the entry of the previous collection. This allows two collections to exist with the same UUID. In the case of two-phase collection drops, this can result in no collections registered to a UUID, despite existing.

            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            louis.williams@mongodb.com Louis Williams
            0 Vote for this issue
            6 Start watching this issue