The /OPT:REF (Optimize References) and /OPT:ICF (Enable COMDAT Folding) Linker flags were set for Release and Win2008PlusRelease builds, which does not match the link flags set for the scons build. Remove those settings to match scons, and to fix the crashes in the SpiderMonkey builds.
Changes: 1) Warn on startup if using old minor version and invalid indexes exist. 2) Treat unknown index plugins created under pre-2.4 as ascending 3) When creating first index using new plugins: a) if there are invalid indexes error out b) if not pump the pdfile minor version 4) ScanAndOrder no longer supports index plugins (it never should have) Note: All text and 2dsphere indexes created prior to this commit will need to be rebuilt.
Make sure primary node does not change during the entire test.
Keep track of the shard key value (random number) for each saved document and report it when a document can't be found so we can see what shard it should be on and when it has been migrated. When mongos can't find a document, look for it directly on both shards and report where it was found or if it was not found. Add header comments describing these features.