-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 1.1
-
Component/s: None
-
None
-
Environment:Windows 7 64 Bit Powershell 2.0.
Briefly put, if you have a MongoCollection and call EnsureIndex() followed by DropCollection, followed by the very same EnsureIndex() call the index is not created the second time. Executing the following powershell script twice from PowerShellISE will demonstrate this:
https://gist.github.com/982750
This is the sort of error that would only occur in an interactive shell (e.g. powershell IronPython, etc), or perhaps as part of an ETL process.