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

convertToCapped should use a unique name for its temporary collection

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 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

      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@mongodb.com Matthew Russotto
            Reporter:
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: