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

      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.

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

              Created:
              Updated:
              Resolved:
              2 years, 5 weeks, 3 days ago