Eliminate unused parameter to initializeServerGlobalState().
Fork earlier in server startup; will simplify logging initialization.

Ensures that server initialization happens in the process that will actually
host the server, rather than the process that forks the server.

Also, when startup fails in mongos, exit with a failing code.
Revert "Fix parallel tests by dropping all databases before starting"

This reverts commit babd275f88181c3f2cd29585816aab24bc4b421c.
Fix some tests to work in parallel suite by dropping system.users at the beginning of the test
SERVER-10026 interfaces, index scan stage, debug cmd, jstest
SERVER-10026 fix mongos build
SERVER-10039 buildbot test ChunkManagerLoadBasicTest need index to support sorting chunks in test
SERVER-9939 Filter createUser and updateUser commands from shell history
client/example: Port number parameter message

Added check to provide the error message if the port number parameter is not provided.

Signed-off-by: Matt Dannenberg <matt.dannenberg@10gen.com>
client/example: use uniform coding style for verify macro

This patch changes the MONGO_verify macro usage to verify so as to make the examples make use of the uniform coding style

Signed-off-by: Matt Dannenberg <matt.dannenberg@10gen.com>
client/example: cursor check and return values

This patch add the check for the valid cursor before moving forward and add the correct return values for the application exit.

Signed-off-by: Matt Dannenberg <matt.dannenberg@10gen.com>
SERVER-9518 Initial implementation of acquire/releaseUser methods in AuthorizationManager
adjust formatting for lint
SERVER-7379 Immutable shardkey becomes mutable

Added test cases (commented out currently failing ones).
SERVER-10026 syntactic code fixes for Windows

- a struct is not a class
- "ERROR" is a macro on Windows :(
SERVER-10026 use massert instead of verify to fix debug build
SERVER-8791 SERVER-9212 keep btree bucket deletion inside of btree class
SERVER-9881 Use presence of a certain type_trait to detect libstdc++ 4.6.0 or better
SERVER-10026 disable stages tests from running w/sharding
Get authorization_manager.h out of commands.h to improve compile time by moving CmdShutdown to its own file