Priority: Minor - P4
Resolution: Works as Designed
Affects Version/s: None
Fix Version/s: None
Component/s: Index Maintenance
I just did a mongodump and mongorestore and got an error:
Failed: jerome5.Unit: error creating indexes for jerome5.Unit: createIndex error: Values in the index key pattern cannot be 0.
I checked on the source collection and found an index like:
I'm not sure how long this has been there, but I suppose it doesn't actually do anything on the source database? Maybe it is assumed to be 1 if it's not -1 ?