[DOCS-15260] [SERVER] Investigate changes in SERVER-6491: Prevent dropping shard key index when alternative index doesn't exist Created: 20/Apr/22  Updated: 13/Nov/23  Due: 14/May/22  Resolved: 10/May/22

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 6.1.0-rc0, 6.0.0-rc2, 5.0.19, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Joseph Dougherty
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-6491 Prevent dropping shard key index when... Closed
Duplicate
is duplicated by DOCS-15279 [BACKPORT] [v6.0] Prevent dropping sh... Closed
Related
Participants:
Days since reply: 1 year, 39 weeks, 1 day ago
Epic Link: DOCSP-19446
Story Points: 2

 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.



 Comments   
Comment by Githook User [ 10/May/22 ]

Author:

{'name': 'jmd-mongo', 'email': '73852296+jmd-mongo@users.noreply.github.com', 'username': 'jmd-mongo'}

Message: DOCS-15260 prevent dropping shard key index when alternative index doesn't exist (#1071)

  • updates dropIndexes and db.collection.dropIndexes
  • spacing;
  • fix include path
  • updates top-level desc
  • typo
  • internal review feedback
  • external feedback
Comment by Jess Mokrzecki [ 25/Apr/22 ]

Fix Version updated for upstream SERVER-6491:
6.1.0-rc0, 6.0.0-rc2

Comment by Jess Mokrzecki [ 22/Apr/22 ]

Fix Version updated for upstream SERVER-6491:
6.1.0-rc0

Comment by Jess Mokrzecki [ 20/Apr/22 ]

Fix Version updated for upstream SERVER-6491:
6.0.0-rc2

Generated at Thu Feb 08 08:12:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.