Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-60761 Move the global read-only flag to be an OperationContext function | Gregory Wlodarek | 2022-04-22 | 1 | -0/+21 |
| | |||||
* | SERVER-61934 Hold storage change lock while creating a new opCtx to prevent ↵ | Samy Lanka | 2022-01-10 | 1 | -0/+13 |
| | | | | races with switching out the storage engine | ||||
* | SERVER-57811 Create API to start storage with alternate location | Matthew Russotto | 2021-08-09 | 1 | -1/+14 |
| | |||||
* | SERVER-52849: Protect stepUp from invalidated executor on shutdown in ↵ | Tyler Seip | 2021-05-28 | 1 | -0/+4 |
| | | | | PrimaryOnlyService | ||||
* | SERVER-53566: Protect ServiceContext from issuing duplicate operation IDs | Tyler Seip | 2021-03-22 | 1 | -10/+5 |
| | |||||
* | SERVER-40811 make initializers throwy | Billy Donahue | 2020-12-08 | 1 | -1/+0 |
| | | | | | | | - 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. | ||||
* | Revert "SERVER-50867 Roll back ServiceStateMachine changes temporarily" | Ben Caimano | 2020-12-03 | 1 | -6/+0 |
| | | | | This reverts commit 575f370475bd31fc457a93a776061f1b80448028. | ||||
* | SERVER-49072 Make ServiceExecutors into Decorations | Reo Kimura | 2020-11-17 | 1 | -13/+0 |
| | |||||
* | SERVER-48221 Shut down ftdc after storage engine | Gregory Wlodarek | 2020-11-13 | 1 | -2/+3 |
| | |||||
* | SERVER-51165 SyncUnique Use atomic swap in setter, and AtomicWord<T*> | Billy Donahue | 2020-10-02 | 1 | -5/+3 |
| | |||||
* | SERVER-51165 faster ServiceContext getters via AtomicWord | Billy Donahue | 2020-09-28 | 1 | -6/+22 |
| | |||||
* | SERVER-51055 ServiceContext::SyncUnique to fix unique_ptr races. | Billy Donahue | 2020-09-22 | 1 | -9/+44 |
| | | | | | | | | | | - The generic template synchronized_value cannot predict the acquisition level of its instantiations or instances. Take a policy parameter to allow mutex details to be customized. - simplify synchronized_value implementation - merge const_update_guard with update_guard as 1 nested class - ServiceContext SyncUnique must use a raw mutex policy to avoid recursion when Latch Diagnostics accesses ServiceContext | ||||
* | SERVER-50867 Roll back ServiceStateMachine changes temporarily | Ben Caimano | 2020-09-14 | 1 | -0/+19 |
| | | | | | | | This reverts these commits: b039b24746e1d1fb10a32e1ca4831423c01d4cd7: SERVER-48980 97e16187ff3065d242a61a52e7b6edd4d439fb30: SERVER-49072 0607a6c291bf4cf4580a4444d826ed3c3ac3df47: SERVER-49104 | ||||
* | SERVER-48980 Associate ServiceExecutors with Clients | Ben Caimano | 2020-08-31 | 1 | -6/+0 |
| | |||||
* | SERVER-49072 Make ServiceExecutors into Decorations | Reo Kimura | 2020-08-14 | 1 | -13/+0 |
| | |||||
* | SERVER-48312 Remove support for 'supportsDocLocking = false' | Gregory Wlodarek | 2020-08-04 | 1 | -7/+0 |
| | |||||
* | SERVER-47802 Destroy opCtx after responding to clients | Amirsaman Memaripour | 2020-05-14 | 1 | -0/+21 |
| | | | | | Postpone destruction of opCtx until after responding to clients to reduce the cost of destroying opCtx on the critical execution path. | ||||
* | SERVER-47429 Validate authenticationMechanisms server parameter | Mark Benvenuto | 2020-04-20 | 1 | -0/+17 |
| | |||||
* | SERVER-44167 Added ability to kill operations by key | Ben Caimano | 2019-12-31 | 1 | -2/+54 |
| | | | | | | There are two patches here really. One of which makes killOp fast to use and visible. The other adds OperationKey to various places and maps it to an internal OpId. | ||||
* | SERVER-45029 Add getCurrentServiceContext() | Ben Caimano | 2019-12-13 | 1 | -0/+9 |
| | |||||
* | SERVER-44155 Validate a subset of latches of all levels | Rahul Sundararaman | 2019-12-09 | 1 | -1/+2 |
| | |||||
* | SERVER-42967 SERVER-42895 SERVER-44086 Expand DiagnosticInfo hooks in ↵ | Ben Caimano | 2019-10-21 | 1 | -1/+1 |
| | | | | | | | | | | | Interruptible and Mutex This commit: - Adds Listener hooks for Interruptible - Expands Listener hooks for Mutex - Updates the DiagnosticInfo and its tests to use the new hooks - Removes stacktracing pieces from DiagnosticInfo and its tests - Removes mongo::ConditionVariable entirely in favor of Interruptible | ||||
* | SERVER-43823 Fail background validation if restartCatalog runs while ↵ | Gregory Wlodarek | 2019-10-07 | 1 | -0/+11 |
| | | | | validate locks are yielded | ||||
* | SERVER-42165 Replace uses of stdx::mutex with mongo::Mutex | Ben Caimano | 2019-09-17 | 1 | -4/+6 |
| | |||||
* | SERVER-39936 Use PeriodicRunner handles to simplify shutdown ordering | Ben Caimano | 2019-06-21 | 1 | -5/+5 |
| | |||||
* | SERVER-39340 Remove `stdx/list.h` | ADAM David Alan Martin | 2019-06-10 | 1 | -2/+2 |
| | |||||
* | SERVER-39339 Remove `stdx/memory.h` | ADAM David Alan Martin | 2019-06-10 | 1 | -1/+1 |
| | |||||
* | SERVER-40357 expand all calls to MONGO_DISALLOW_COPYING | Billy Donahue | 2019-03-28 | 1 | -3/+4 |
| | | | | | | | | | | | produced by: hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )" for f in "$hits"; do sed -i.orig ' s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&) = delete;\n\1\2\& operator=(const \2\&) = delete;/; ' $f done | ||||
* | SERVER-39279 Remove ServiceContext::waitForClientsToFinish | Louis Williams | 2019-03-13 | 1 | -9/+0 |
| | |||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -1/+0 |
| | | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines. | ||||
* | SERVER-39146 Refactor Baton | Jason Carey | 2019-02-05 | 1 | -0/+5 |
| | | | | | Refactor the baton into regular and networking batons while also cleaning up the basic baton implementation. | ||||
* | SERVER-34422-ThreadMetrics: ServerStatus now returns the number of active ↵ | Tyler Kaye | 2019-01-28 | 1 | -0/+5 |
| | | | | client operations | ||||
* | SERVER-36663 Prevent killOperation from running without lock | Jonathan Ma | 2019-01-24 | 1 | -3/+4 |
| | |||||
* | SERVER-38511 Avoid killing read operations on stepdown, gated by new server ↵ | Suganthi Mani | 2019-01-23 | 1 | -6/+0 |
| | | | | parameter “closeConnectionsOnStepdown”. | ||||
* | SERVER-37270 Remove foreground index builds by default | Louis Williams | 2019-01-17 | 1 | -0/+9 |
| | |||||
* | SERVER-36644 remove AtomicWord typedefs | Billy Donahue | 2019-01-07 | 1 | -1/+1 |
| | |||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -8/+10 |
| | |||||
* | SERVER-36013 Remove isMMAPv1 predicates and resulting dead code | Geert Bosch | 2018-07-11 | 1 | -5/+0 |
| | |||||
* | SERVER-35788 Fix `noexcept` qualification in `std::function`. | ADAM David Alan Martin | 2018-06-26 | 1 | -3/+3 |
| | | | | | C++17 treats `noexcept` as part of the type. C++17's `std::function` doesn't support such qualifications on the function's parameter type. | ||||
* | SERVER-34798 Remove ServiceContext subclasses and use new ServiceContext in ↵ | Andy Schwerin | 2018-06-22 | 1 | -40/+128 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-34798 Move storage initialization behaviors out of ServiceContext ↵ | Andy Schwerin | 2018-05-05 | 1 | -66/+0 |
| | | | | subclasses to new library. | ||||
* | SERVER-34751 Replace getGlobalStorageEngine cals with getStorageEngine. | Andy Schwerin | 2018-05-03 | 1 | -7/+0 |
| | |||||
* | SERVER-34751 Move StorageEngine ownership to ServiceContext from subclasses | Andy Schwerin | 2018-05-02 | 1 | -1/+20 |
| | |||||
* | SERVER-33275 Remove `platform/unordered_`* headers | ADAM David Alan Martin | 2018-02-14 | 1 | -2/+2 |
| | | | | | | These headers date from before C++11 support and the `::mongo::stdx::` namespace. They can be removed and uses of the names therein can be changed to `::mongo::stdx::unordered_`* forms. | ||||
* | SERVER-29602 New OpObserverRegistry to allow multiple observers | Geert Bosch | 2017-12-21 | 1 | -1/+2 |
| | | | | Also removes sharding specific interfaces for OpObserver. | ||||
* | SERVER-31316 Remove unused code and unnecessary inheritance in ↵ | Kaitlin Mahar | 2017-12-13 | 1 | -1/+0 |
| | | | | KeysCollectionManager* classes | ||||
* | SERVER-30977 add clusterTime to standalone replica set | Misha Tyulenev | 2017-09-27 | 1 | -27/+0 |
| | |||||
* | SERVER-31170 Cleanup bench_run.cpp | Kaloian Manassiev | 2017-09-22 | 1 | -19/+26 |
| | |||||
* | SERVER-29838 Implement basic adaptive ServiceExecutor | Jonathan Reams | 2017-08-02 | 1 | -1/+1 |
| | |||||
* | SERVER-29402 Implement ServiceExecutor and fixed-size test executor | Jonathan Reams | 2017-07-14 | 1 | -0/+19 |
| |