…versioning Fixed tests for newly added out parameter.
…versioning Ensure that selectNodeUsingTags will use the same connection to the primary with checkMaster
…the newer test framework
…t handle unsigned long long
…iated with them from an old connection
…aking sure stdout is flushed Conflicts: src/mongo/tools/tool.cpp
Converting updates to upserts during replication was added for version 2.2.0. This code was dependent on all operators being idempotent. Some operators in 2.0.x are not fully idempotent, so if we are reading an oplog generated by a 2.0.x node, we shouldn't activate this new feature.
Pass 'false' for includeEndingNull in two calls to BufBuilder::appendStr to we don't insert null terminators in the middle of an output buffer.
Remove the fixup of the user's index specification that was converting it into a default-style index name. Adjust comments in code and help text to describe how to use db.collectionName.dropIndex().
This requires special casing due to SERVER-7502
The previous implementation was not recursively following the LIBDEPS hierarchy, looking for SYSLIBDEPS to add. Instead, it was trying to walk a hierachy like LIBDEPS rooted in the SYSLIBDEPS variable. This isn't really a meaningful behavior, since SYSLIBDEPS always list system libraries, which are always leaf nodes in the dependency graph for our build system.
This bug only comes up if the first $skip or $limit precedes the first $sort or $limit. This is very rare, but should still be handled correctly.
… at the same time Prevent errors on Azure Storage drives that occur when a memory-mapped data file is modified in memory while it is being flushed to disk with FlushViewOfFile. Use a SimpleMutex (Critical Section on Windows) to prevent these two routines from running at the same time.
In Windows, exit after an access violation the same way we exit on other platforms after a segfault; with ::_exit(EXIT_ABRUPT).