Flush journal after every oplog write (if necessary) SERVER-6816
SERVER-6930 trim minvalid document to just ts/timestamp and h/hash for performance/freespace benefits
Don't send authentication table when running without auth. SERVER-6946
Allow socket timeout to be set after connecting SERVER-1929
Check pointer before dereferencing SERVER-1929
SERVER-6918 buildbot debug geo_borders.js, make geo errors more informative
SERVER-5354 Do not generate a field range constraint for an $atomic match field.
SERVER-6931 Don't attempt to look up a cursor using an invalid id.  Prevents an occasional incorrect warning message.
SERVER-6930 append correct format for timestamp
SERVER-5354 Disable queryoptimizerc multi version testing.
SERVER-6816 cap the batch on the journal commit limit

Calling commitIfNeeded() in a local db lock is prohibited so I removed it.  Instead, we will make the batch sizes smaller than the journal commit limit size to avoid DR102 messages.
SERVER-6816 add a 5 sec time limit to replication batches

Even with a byte cap on replication batches, it is still possible to
batch up a large number of writes which can take a long time to apply.
This commit ensures that batches do not get too large.  5 seconds' worth
of replicated ops over the network will take much less than 5 seconds to
write to the database.
Fix balancer when running mixed 2.2 and 2.0 shards. SERVER-6902

_recvChunkStart command on 2.2 expects a shardKeyPattern argument. 2.0 mongods
don't send that, which breaks migrations.  This fixes this by assuming the shard
key has the same pattern as the range specifiers in Helpers::removeRange when
the shardKeyPattern isn't explicitly provided.
SERVER-6960 Always link object files and static archives in the same order.

SCons (correctly) considers two link command lines different if the order of
object files or static libraries changes.  As a result, the libdeps system needs
to produce consistent ordering of these files in the $_LIBDEPS expansion.  This
patch achieves this by sorting the _LIBDEPS candidate expansion by the string
name of the expanded objects.

This problem is akin to that from SERVER-5254, which was solved in a similar
manner.
SERVER-6948 Make it safe to call commitIfNeeded() from a read lock
SERVER-6956 Chunk::splitIfShould does not acquire the distributed balance lock when moving chunks

Convert verify into an errmsg to make it more friendly with the debug build test suite. Also fixed
MigrateStatusHolder so it will not accidentally cleanup migrateFromStatus logically owned by another
thread.
SERVER-SERVER-6861 Validate that pipeline stage specification objects consist of a single field.  Clean up pipeline stage parsing.
Whitespace -- tabs to spaces
Add retry to heartbeat SERVER-1929
Periodically re-evaluate sync target SERVER-5208