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

createIndexes command should write the spec of the index as created to the oplog

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical - P2 Critical - P2
    • 3.3.14
    • None
    • Storage
    • None
    • Minor Change
    • ALL
    • Query 2016-09-19
    • 0

    Description

      Currently, the createIndexes code passes the requested index specification to the operation observer instead of the specification of the index as built. If the primary of the replica set made choices based on defaults, it needs to make those choices explicit in the spec it passes to secondaries so that they build the same index, in the presence of mixed-version replica sets.

      Attachments

        Activity

          People

            max.hirschhorn@mongodb.com Max Hirschhorn
            schwerin@mongodb.com Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: