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

behavior change: 2.6 preserves autoIndexId property on renameCollection across DBs

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.6.0, 2.6.1
    • None
    • None
    • ALL

    Description

      In 2.4 and prior, renameCollection across databases would not preserve autoIndexId property of the collection.

      Starting with 2.5.5 it does respect the autoIndexId setting and preserves it in the new collection.

      Since MR uses a temp DB and then renames the temp collection into the target DB, and MR uses autoIndexId "false" this breaks replication performance when this causes MR results to have on "_id" index in the result collection.

      Attachments

        Activity

          People

            Unassigned Unassigned
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: