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

behavior change: 2.6 preserves autoIndexId property on renameCollection across DBs

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.6.0, 2.6.1
    • Component/s: None
    • None
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: