Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15260

[SERVER] Investigate changes in SERVER-6491: Prevent dropping shard key index when alternative index doesn't exist

    XMLWordPrintableJSON

Details

    Description

      Original Downstream Change Summary

      dropIndexes now returns error when trying to drop the last remaining shard key index. "*" also now means drop all indexes except for _id and key patterns that are compatible with the shard key pattern.

      Description of Linked Ticket

      This leaves you without an index on the shard key, which can have big performance implications, especially on migrations.

      Attachments

        Activity

          People

            joseph.dougherty@mongodb.com Joseph Dougherty
            backlog-server-pm Backlog - Core Eng Program Management Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              1 year, 39 weeks, 1 day ago