summaryrefslogtreecommitdiff
path: root/src/mongo/tools
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-44472 Don't overwrite additional_targets for scons compileMathew Robinson2019-11-071-2/+3
|
* SERVER-44372 WeakFunction: a simplification of SHIM_ macrosBilly Donahue2019-11-071-4/+6
|
* SERVER-44364Mathew Robinson2019-11-061-4/+4
|
* SERVER-43641 upgrade random.hBilly Donahue2019-10-092-3/+2
| | | | This reverts commit a40b196bd3cecd0b66a6323f57e6f08efe0af392.
* Revert "SERVER-43641 upgrade random.h"James Wahlin2019-10-022-2/+3
| | | | This reverts commit 96da177c6ae7b7ed0f29983ad033d8a59524b0b2.
* SERVER-43641 upgrade random.hBilly Donahue2019-10-022-3/+2
| | | | | | | | | | | | | | | | | | | | | Respecify PseudoRandom and SecureRandom as template instances of a `mongo::RandomBase<Urbg>` (Urbg is a UniformRandomBitGenerator). They will only vary in which algorithm they use for their source bits, and should otherwise support the same exact operations (e.g. `nextCanonicalDouble`). Fix range and stats errors in the implementations of those RandomBase methods, and specify them in terms of the vetted `<random>` facilities. Test uniformity of nextInt32(max), which uses an inappropriate ( x % max) operation. Verify that refactor fixes this issue. Just keep a shared urandom file descriptor open. SecureRandom add fill, remove create, fix callers Obsoletes SERVER-43643 Re: SecureRandom 8kiB buffering
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-09-173-15/+13
|
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-273-4/+3
|
* SERVER-9668 Use SCons install target tags to identify mapping of targets to ↵Mathew Robinson2019-07-021-6/+5
| | | | install packages.
* SERVER-39339 Remove `stdx/memory.h`ADAM David Alan Martin2019-06-101-1/+1
|
* SERVER-40811 reduce GlobalInitializerRegisterer constructorsBilly Donahue2019-05-161-3/+4
|
* SERVER-28679 Set OP_MSG checksumA. Jesse Jiryu Davis2019-05-141-0/+4
|
* SERVER-40698 Only link WT to mongoe things when enabledAndrew Morrow2019-04-171-1/+1
|
* SERVER-40476 remove mongoutils::strBilly Donahue2019-04-093-3/+3
| | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
* SERVER-40265 build mongoed with wiredtierGabriel Russell2019-04-011-0/+1
| | | | | * Also, updated a couple of KVStorageEngine::TimestampMonitor tasks to not create a opCtx if it already exists
* SERVER-39724 Migrate embedded options to IDLSara Golemon2019-02-224-27/+68
|
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-1310-10/+0
| | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
* SERVER-38176 Compile with /permissive- on MSVC to make the compiler strictly ↵Henrik Edin2019-02-011-1/+1
| | | | standard conformant.
* SERVER-38551 Convert message compressor options to IDLSara Golemon2019-01-092-6/+1
|
* SERVER-38552 Convert configuration options in ↵Mark Benvenuto2018-12-184-19/+68
| | | | src/mongo/tools/mongobridge_options.cpp to IDL
* SERVER-38536 Convert the debugCollectionUUIDs set parameter to IDLAndrew Morrow2018-12-171-0/+1
|
* SERVER-38093 Use ThreadClient in mongoebench to destruct Client cleanlyGregory Wlodarek2018-11-121-2/+3
|
* SERVER-35485 Add compressor capabilities for shell with URI inputTyler Kaye2018-10-251-4/+7
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-2210-137/+157
|
* SERVER-36733 Clarify names for embedded install tagsAndrew Morrow2018-08-191-1/+1
|
* SERVER-33135 Remove metadata accessors from command reply APIsMathias Stearn2018-07-301-3/+1
| | | | | Now that OP_COMMAND is dead, all remaining implementations return the same BSONObj for data and metadata.
* SERVER-33135 Delete code for OP_COMMANDMathias Stearn2018-07-301-4/+3
|
* SERVER-36258 Construct ServiceContext after mongo initializers complete.Andy Schwerin2018-07-271-0/+1
|
* SERVER-36073 Save benchRun stats generated by mongoebench to JSON file.Max Hirschhorn2018-07-234-2/+34
| | | | | The --output command line option to mongoebench can be used to control the destination.
* SERVER-35537 Create mongoebench for running benchRun against mobile.Max Hirschhorn2018-07-105-0/+451
| | | | | | It take a JSON config file with a "pre" section for any setup logic and an "ops" section for the operations that the benchRun workers should execute repeatedly.
* SERVER-34798 Remove ServiceContext subclasses and use new ServiceContext in ↵Andy Schwerin2018-06-221-7/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | every unit test. This patch does several loosely related and surprisingly hard to separate things. 1.) Make the ServiceContext class final 2.) Create a mechanism, called ConstructorActions, for running methods on ServiceContexts immediately after they're built and immediately before they're destroyed. 3.) Introduce / improve test fixture base classes for tests, giving them fresh ServiceContext instances for each test case. There is one fixture for tests that need a storage engine and another for those that do not. 4.) Make several remaining global variables SC decorations in support of (3) 5.) Replace many MONGO_INITIALIZERS that access getGlobalServiceContext with the new constructor-actions system, which is needed for (3.) 6.) Fix up tests to use the fixtures from (3) and fix tests that silently used different service contexts in together in a technically illegal fashion that now breaks. 7.) Utilize (2) as necessary to simplify initialization of new ServiceContexts, simplifying the fixtures in (3).
* SERVER-35550 Fix uassert codeJonathan Reams2018-06-191-1/+1
|
* SERVER-35550 Connect back to server from bridge in client threadJonathan Reams2018-06-191-35/+38
|
* SERVER-35101 Strip trailing and leading whitespace from bind_ip arguments ↵Adam Cooper2018-06-111-1/+1
| | | | | | and change to std::vector internally
* SERVER-35297 Split server_options and server_status into two pieces.Henrik Edin2018-06-071-0/+1
| | | | Similarly to how commands are setup, so embedded can depend on a smaller library with fewer dependencies.
* SERVER-34805 Refactor the network libraries and move messages types to ↵Andrew Morrow2018-05-051-1/+1
| | | | rpc/protocol
* SERVER-34794 Construct the global ServiceContext inside a MONGO_INITIALIZERAndy Schwerin2018-05-021-2/+1
|
* SERVER-30992 Integrate mongobridge with ServiceEntryPointJonathan Reams2018-04-052-277/+288
|
* SERVER-30170 Embedded can now shutdown and re-initialize.Henrik Edin2018-03-261-5/+6
| | | | | | | | | - ServiceContext* is now closer to be an instance context for the database. We still don't support multiple instances but I wrote the new code with this in mind. Teardown and reinitialize then becomes a matter of being able to delete and re-create the ServiceContext*. - Use the new MONGO_INITIALIZER that supports deinit/reinit to be able to re-initialize global systems that are decorations on ServiceContext. - Move creation/destruction of ServiceContext* out of MONGO_INITIALIZER. This so we can hold an exclusive lock during as much as possible of the shutdown (like how mongod does) - New ServiceContext registrer where we can link in different implementations of ServiceContext (replaces the SetGlobalEnvironment MONGO_INITIALIZER) - As a result the SetGlobalEnvironment prerequisite for MONGO_INITIALIZERs is gone. - The ServiceContext is passed to runGlobalInitializers, put in InitializationContext/DeinitializationContext so the initializers know which context they operate on.
* SERVER-34071 Apply install aliases to other binaries when in hygienic modeAndrew Morrow2018-03-231-1/+7
|
* SERVER-33300 Integrate TransportLayer with DBClientJonathan Reams2018-03-021-27/+49
|
* SERVER-28510 Add DBClient::runFireAndForgetCommand() and use it to implement ↵Mathias Stearn2017-08-171-2/+7
| | | | legacy op emulation
* SERVER-28964 Close connection after seeing invalid OP_MSG flagsMathias Stearn2017-08-171-1/+1
|
* SERVER-30118 Stop setting messageIDs in AbstractMessagingPort::say() and call()Mathias Stearn2017-07-261-6/+6
| | | | | | It is now the responsibility of the callers (including the same-named methods on DBClientConnection) to prepare a ready-to-send Message. AMP's job is now just to send the provided message as-is.
* SERVER-6541 Delete Message::toString()Mathias Stearn2017-06-281-1/+2
|
* SERVER-29564 BSONObjBuilder can now be seeded with a BSONObj prefixMathias Stearn2017-06-191-2/+3
| | | | This will avoid copying whenever it is safe.
* SERVER-29264 Kill off rpc::RequestInterfaceMathias Stearn2017-06-071-17/+16
|
* SERVER-28229: Bind to localhost by defaultSpencer Jackson2017-04-281-1/+2
|
* SERVER-28508 OP_MSG in egress and mongodMathias Stearn2017-04-271-2/+4
|
* Revert "SERVER-28229: Bind to localhost by default"Kaloian Manassiev2017-04-251-2/+1
| | | | This reverts commit d6b244fce44e6729485b1521346db6e372f6b901.