Move index spec to a subobject in createIndex oplog entries

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • Storage Execution 2025-06-09
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 0

      Currently the oplog entry's "o" field is the index spec with "createIndex": "name" added, with no division between the command and the payload. This makes it so that newly added fields are ambiguous as to whether they are part of the command or part of the index spec. The spec should instead be moved to a subobject.

            Assignee:
            Thomas Goyne
            Reporter:
            Thomas Goyne
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: