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

renameCollection allows background index builds to yield

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • 2.7.8
    • 2.4.7, 2.5.3
    • Concurrency, Replication
    • None
    • Minor Change
    • ALL

    Description

      renameCollection command rebuilds indexes the way they were originally created. When it's background, it allows yielding and can possibly allow a command on original collection which would cause a problem for replication since renameCollection is logged in the oplog after the index builds finish.

      Attachments

        Activity

          People

            milkie@mongodb.com Eric Milkie
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: