renameCollection allows background index builds to yield

XMLWordPrintableJSON

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

      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:
            Eric Milkie
            Reporter:
            Asya Kamsky
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: