Do not defer creation of _id index for replicated collections

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Query 2016-10-31, Query 2016-11-21
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When a primary defers creation of the _id index, the secondary still creates the _id index when applying the oplog entry for the collection creation. This results in inconsistent indexes between primary and secondary. We should remove occurrences of deferred _id index creation:
      chunk migration
      cloner (all occurrences in that file)
      renameCollection
      repairDatabase (mmapv1)

      We need not change initial sync or the oplog buffer collection, since those collection creations are not replicated.

              Assignee:
              Tess Avitabile (Inactive)
              Reporter:
              Tess Avitabile (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: