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

Update document_source_out_replace_coll.cpp to use createIndexes, rather than an insert on a system.indexes collection

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.3
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-08-27

      Part of system.indexes removal in SERVER-36015.

      document_source_out_replace_coll.cpp ostensibly does an insert in a system.indexes collection to create indexes. Our write cmd catches it and instead of performing the system.indexes write performs createIndexes. Replication replicates a createIndexes oplog entry, not an insert.

            Assignee:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: