[SERVER-13299] Can't create 2dsphere index Created: 20/Mar/14 Updated: 10/Dec/14 Resolved: 25/Mar/14 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance |
| Affects Version/s: | 2.4.6 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Miguel G | Assignee: | Joanna Cheng |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | 2dsphere, index | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Operating System: | ALL | ||||||||
| Participants: | |||||||||
| Description |
|
Hi I have a collection on which I want to create a 2dsphere index. When I run the following command for the first time: db.collection.ensureIndex( { "departures.location": "2dsphere", type: 1 }) I get the following error: { Then I run the same command again, and I get this error: { I run repairDatabase, and the same happens again. Funny thing is that I cloned the collection without the current indexes, and I can create the 2dsphere index fine in this new collection. So it has to be something related to the current indexes. Current indexes are: { |
| Comments |
| Comment by Daniel Pasette (Inactive) [ 25/Mar/14 ] |
|
duplicate of |