-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
This came up because a remove on _id was being done, but these collections don't have an index on _id. It seems like having a remove error out before the lookup would be smarter. A person calling remove is already making one mistake by calling an illegal operation, so they are probably more likely to be calling it on _id or something else without an index.