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

convertToCapped should use a unique name for its temporary collection

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Replication
    • None
    • ALL
    • Repl 2017-05-08, Repl 2017-05-29, Repl 2017-06-19
    • 15

    Description

      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".

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            judah.schvimer@mongodb.com Judah Schvimer
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: