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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Critical - P2
    • 3.3.14
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Minor Change
    • ALL
    • Query 2016-09-19
    • 0
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Max Hirschhorn
            Reporter:
            Andy Schwerin
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: