SERVER-5092 qualify LogstreamBuilder and getThreadName in MONGO_LOG macros
SERVER-14467 log S2 debug messages as query log message at level 5
SERVER-11107 Server SSL certificate expiration date check tests

Closes #734

Signed-off-by: Benety Goh <benety@mongodb.com>
Revert "Revert "SERVER-14728 Shard depends on string comparison of replica set connection string""

This reverts commit d261864e9156af7ecc3d0491111dffa0161e9d0d.
SERVER-14728 Shard depends on string comparison of replica set connection string

Fix iterator incompatible issue.
SERVER-14817 fixed benchRun so that it does not call auth() on every operation.

Closes #733

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-14135 Improve clarity around locking rules in the header for ReplicationCoordinatorImpl
SERVER-14838: Fix shutdown failures

1. On Solaris, we race between the main thread, and signal thread. The
main thread wins, and returns EXIT_NET_ERROR. Previously, we use to work around
this by just sleeping on the main thread.

2. If we exit early due to missing db path, OperationContext asserts
because the storage engine has not been started yet.
move some jstests to use bulk insert to make tests faster
SERVER-14800 Replace some masserts with invariant calls in locking
SERVER-14788 Do not start threads in ReplicationExecutor's constructor.

By not starting threads in the ReplicationExecutor constructor, we can safely construct
it when constructing the ReplicationCoordinatorImpl that owns it, which allows us to
get rid of the weird behavior where we pass a NetworkInterface* to startReplication(),
and further allows us to clean up the concurrency rules for startReplication().
SERVER-14788 Make ReplicationCoordinatorImpl::startReplication threadsafe.

To follow the contract described in the header, it shouldn't be mutating pointers
to its top coord and repl executor, or changing its RID, so do that in the constructor,
instead.  This makes the parameters to startReplication sane, as a side benefit.
SERVER-14044 Invalid {$meta: 'text'} reference in agg $sort error message

Closes #737

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-14165 port isSelf fastpath to windows

Closes #736

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-14836 SSL certificate expiration date in db.serverStatus()

Closes #738

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-14718 index negations below elemMatch value
SERVER-8752 Add config.actionlog

Closes #739

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-14165 reenable isself fastpath for OSX

Closes #736

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-14788 Wire initial configuration loading into startReplication.

via Andy Schwerin.
SERVER-7285 Add mongod.service file for Linux

Add a systemd .service file. This is used in place of System V init scripts on most current Linux distributions.

Closes #740

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