Remove unused ops for index dropping from kOpsMap in oplog.cpp

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: Replication
    • Replication
    • Fully Compatible
    • Repl 2024-06-10, Repl 2024-06-24
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The op=c dropIndexes (plural) oplog entry has been used for all instances of replicating an index drop since the changes from SERVER-28200 (MongoDB 3.6). The dropIndex (singular) and deleteIndex (singular) do not appear to ever have been MongoDB Server commands and instead were only mongo shell helpers.

      These entries in oplog.cpp can be removed.

            Assignee:
            Rani Datta (Inactive)
            Reporter:
            Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: