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

Clarify the reason temporary unique collection names are made

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.2, 3.7.1
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • Repl 2018-01-01

      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.

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

              Created:
              Updated:
              Resolved: