Clarify the reason temporary unique collection names are made

XMLWordPrintableJSON

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

      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
            Reporter:
            Judah Schvimer
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: