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

renameCollection allows background index builds to yield

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 2.7.8
    • Affects Version/s: 2.4.7, 2.5.3
    • Component/s: Concurrency, Replication
    • None
    • Minor Change
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: