Details
-
Improvement
-
Resolution: Duplicate
-
Minor - P4
-
None
-
None
-
None
-
Sharding
Description
With sharded collections, the index that the shard key is dependent on can be dropped, this prevents moveChunk() from working on the collection.
Steps to reproduce:
1. Start with an already sharded collection.
2. Drop the shard key from the indexes.
3. Attempt to run moveChunk(). This should fail with "errmsg" : "can't find index in storeCurrentLocs :: caused by :: "
Attachments
Issue Links
- duplicates
-
SERVER-6491 Prevent dropping shard key index when alternative index doesn't exist
-
- Closed
-