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

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

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

      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@mongodb.com Rani Datta (Inactive)
            Reporter:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: