summaryrefslogtreecommitdiff
path: root/src/mongo/base/initializer_test.cpp
AgeCommit message (Collapse)Author
2024-05-22SERVER-89912 Make mongo initializers ordering reproducible (#21625)Erin McNulty
Co-authored-by: Billy Donahue <BillyDonahue@users.noreply.github.com> GitOrigin-RevId: 93eb27db9578e595a293c0138dbce991bc26af48
2023-06-15SERVER-77042 automated IWYU changes up to ratio of 0.3Daniel Moody
2020-12-08SERVER-40811 make initializers throwyBilly Donahue
- Consolidate init-related headers (just init.h and initializer.h) - Factor out a separate DependencyGraph component - Remove MONGO_DEFAULT_PREREQUISITES, MONGO_NO_PREREQUISITES, MONGO_NO_DEPENDENTS. - Document the role of the "default" initializer.
2020-06-11SERVER-48367 Remove all _envp usageBilly Donahue
2020-05-18SERVER-46881 Forbid adding nodes to initializer graph after starting ↵Kevin Pulo
initializer execution
2019-06-14SERVER-41733 remove make_string_vector.{cpp,h}Billy Donahue
This reverts commit ff4bb67b906c02ace0fba23082b42a59e6cff720.
2019-06-14Revert "SERVER-41733 remove make_string_vector.{cpp,h}"Benety Goh
This reverts commit f9f454988433728ea29ab8d69a57a9e6b861148a.
2019-06-14SERVER-41733 remove make_string_vector.{cpp,h}Billy Donahue
2019-02-13SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue
Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines.
2018-10-22SERVER-37651 Update header files with new licenseRamon Fernandez
2018-05-02SERVER-34794 Construct the global ServiceContext inside a MONGO_INITIALIZERAndy Schwerin
2018-03-26SERVER-30170 Embedded can now shutdown and re-initialize.Henrik Edin
- 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.
2018-03-12SERVER-33629 Deinitialization support for MONGO_INITIALIZER. Done via the ↵Henrik Edin
GlobalInitializerRegisterer instead of macros. Deinitialization executes in reverse order from initialization.
2015-06-20SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto
2014-05-16SERVER-13264 Move Apache-licensed files to AGPLIan Whalen
Also update generators.
2013-03-08SERVER-8897 Don't use non-portable variadic comma elisionAndrew Morrow
2012-11-06Move ASSERT_OK macro into mongo/unittest/unittest.h.Andy Schwerin
Previously, every test file that wanted it was defining it.
2012-09-25SERVER-5112 Initializer type and test.Andy Schwerin