-
Type: Improvement
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Index Maintenance
-
None
-
Sharding
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 :: "
- duplicates
-
SERVER-6491 Prevent dropping shard key index when alternative index doesn't exist
- Closed