convertToCapped should use a unique name for its temporary collection

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • ALL
    • Repl 2017-05-08, Repl 2017-05-29, Repl 2017-06-19
    • 15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      convertToCapped always uses the same name for the same collection. This is ordinarily fine, but is a problem if the server fails after creating the collection but before renaming it. When the server restarts, it will fassert on unclean startup with "NamespaceExists".

            Assignee:
            Matthew Russotto
            Reporter:
            Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: