SERVER-13851 add a safety invariant to replicated commands to appease coverity
BF-311 rework slaveDelay2.js to be more stable and straight forward
BF-312 ensure node 0 will be primary in sync_passive.js
SERVER-13794 - only start snapshot thread on isHttpInterfaceEnabled

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
SERVER-13870 Use RAII to prevent memory leaking in shard targeting
SERVER-13868 Mark V1 users as probed on databases that they do not have surrogate user docs on
SERVER-13712 smoke.py --clean-every=N option
SERVER-13712 cleanbb should clean entire /data/db dir

Invoke cleanbb via function call, not subprocess.

clean_dbroot() now cleans entire /data/db if --with-cleanbb specified,
including periodic cleanups.
SERVER-13712 fix fedora8 builders (python 2.5.1)
SERVER-10516: Mitigate invalid address errors for MapViewOfFileEx
SERVER-13264 Fix incorrect line endings prior to license update
SERVER-13614 distlock_test.cpp doesn't handle connectivity exceptions
SERVER-13635 get deletedRecordFor() out of RecordStore interface
SERVER-13640 Port many namespacetests to recordstore unit tests

This covers all of the tests that needed cheatRecordStore() since they were
clearly testing V1 specific implementation details.
SERVER-13715 fix use of auto_ptr after release in subplan runner
SERVER-13852 initialize IndexBounds::endKeyInclusive in constructor
Comment deleted-list bucket sizes in decimal
SERVER-13635 Move DocWriter to record_store.h
Cleanup the BTree logic so it does not use global calls

Also made some methods private and added comments.
SERVER-12064 SERVER-12283 Use gcc atomic builtins if available

Switch to using gcc atomic builtins for atomic operations if using a new
enough gcc and clang and support is available. Otherwise, fall back to
the old behaviour of existing non-portable inline assembly to continue
to support builds on older versions of gcc.

Signed-off-by: Benety Goh <benety@mongodb.com>