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

Clarify the reason temporary unique collection names are made

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.2, 3.7.1
    • Replication
    • None
    • Fully Compatible
    • Repl 2018-01-01

    Description

      We use "makeUniqueCollectionNamespace" to make collection namespaces with random unused names. We often call them "tmp<random>", which doesn't say what they're used for (https://github.com/mongodb/mongo/blob/cdef5d9ad7a5c138637354a0644457a439507b80/src/mongo/db/catalog/create_collection.cpp#L165). It would be helpful if we added a prefix or suffix to each of these to say if it's for a create, rename, rollback, or convertToCapped.

      Attachments

        Issue Links

          Activity

            People

              benety.goh@mongodb.com Benety Goh
              judah.schvimer@mongodb.com Judah Schvimer
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: