Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-55708 remove unused parameter from ↵ | Benety Goh | 2021-04-02 | 1 | -8/+3 |
| | | | | index_key_validate::validateIndexSpec() | ||||
* | SERVER-40811 make initializers throwy | Billy Donahue | 2020-12-08 | 1 | -2/+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. | ||||
* | SERVER-50031 createSystemIndexes should allow WriteConflictExceptions to escape | Benety Goh | 2020-10-26 | 1 | -0/+3 |
| | |||||
* | SERVER-50145 Collection instances are modified using copy-on-write | Henrik Edin | 2020-10-08 | 1 | -2/+2 |
| | | | | | | | | When a writable collection is requested from the catalog a cloned instance will be returned. Its lifetime is managed by default in a WriteUnitOfWork and committed into the catalog in a commit handler. In the case of a rollback the cloned and modified collection instance is simply discarded. This removes the need to setup rollback handlers to restore any state written to a collection in the case of a rollback. | ||||
* | SERVER-50984 Add CollectionPtr to replace usage of const Collection* | Henrik Edin | 2020-09-26 | 1 | -1/+1 |
| | | | | | | | | | | | | It implements a yieldable interface that is used to re-load the Collection pointer from the catalog after a yield that released locks. With lock-free reads and copy-on-write on Collection instances releasing locks without notifying an AutoGetCollection at a higher level may cause its pointers to dangle if a MODE_X writer installs a new Collection instance in the catalog. CollectionPtr should be passed by const reference so a yield can notify all the way up. | ||||
* | SERVER-50408 Change NotMaster error name to NotWritablePrimary | Pavi Vetriselvan | 2020-09-03 | 1 | -1/+1 |
| | |||||
* | SERVER-50317 Const correct uses of Collection | Henrik Edin | 2020-09-02 | 1 | -7/+7 |
| | | | | | | Most of the code should only need a const Collection now. AutoGetCollection returns a const Collection by default. There is a placeholder getWritableCollection() interface that will handle the necessary steps we need for lock free reads in the future. Added some operators to AutoGetCollection so it behaves more like a smart pointer. | ||||
* | SERVER-47182 IndexBuildsCoordinator::createIndexes() accepts single index spec | Benety Goh | 2020-06-04 | 1 | -2/+2 |
| | |||||
* | SERVER-48148 Cleanup of execution logs in db/ | Henrik Edin | 2020-05-15 | 1 | -5/+8 |
| | |||||
* | SERVER-47735 change mongo source over to logv2 | Billy Donahue | 2020-04-26 | 1 | -1/+1 |
| | | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2:: | ||||
* | SERVER-47358 Take collection MODE_X locks instead of database MODE_X lock in ↵ | Gregory Noma | 2020-04-07 | 1 | -11/+10 |
| | | | | verifySystemIndexes | ||||
* | SERVER-47040 LOGV2_FATAL also fasserts | Henrik Edin | 2020-03-24 | 1 | -4/+4 |
| | | | | Added LOGV2_FATAL_NOTRACE and LOGV2_CONTINUE to have different behavior. | ||||
* | SERVER-45567 removing util/log.h where I can | Gabriel Russell | 2020-02-21 | 1 | -1/+0 |
| | | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp | ||||
* | SERVER-45869 automatically converted structured logging | Gabriel Russell | 2020-02-13 | 1 | -4/+12 |
| | |||||
* | SERVER-43859: Take MODE_IX locks for collection creation. | Daniel Gottlieb | 2019-11-26 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | Two concurrent storage transactions can now create collections with the same collection name. These transactions will conflict at commit time; the first committer will win and register their collection into the global catalog. The losing transactions will bubble a WriteConflictException. Top-level callers that should fail if the collection already existed must now check and fail with a NamespaceExists error code. Previously, those callers could rely on lower level code returning the NamespaceExists error. Callers that were implicitly creating a collection may retry the operation, using the now-registered collection. These transaction-local collections (UncommittedCollections) are returned when doing any CollectionCatalog::lookup* call. | ||||
* | SERVER-43642 IndexBuildsCoordinator::createIndexes() accepts index constraints | Benety Goh | 2019-11-20 | 1 | -2/+3 |
| | | | | make IndexBuildsCoordinator::updateCurOpOpDescription() public | ||||
* | SERVER-43697 build system indexes for auth using IndexBuildsCoordinator ↵ | Benety Goh | 2019-11-05 | 1 | -75/+14 |
| | | | | index helpers | ||||
* | SERVER-43323 All replicated index builds should write startIndexBuild | Louis Williams | 2019-09-30 | 1 | -2/+25 |
| | | | | | | | and commitIndexBuild oplog entries This emits the two-phase oplog entries in cloner.cpp, system_index.cpp and index_builder.cpp. | ||||
* | SERVER-41496 Remove Database::getCollection() and replace with ↵ | Evgeni Dobranov | 2019-09-30 | 1 | -2/+3 |
| | | | | CollectionCatalog::get().lookupCollectionByNamespace() | ||||
* | SERVER-41696 Remove the 'ns' field from index specs | Gregory Wlodarek | 2019-07-29 | 1 | -13/+9 |
| | |||||
* | SERVER-41772 Apply clang-format 7.0.1 to the codebase | clang-format-7.0.1 | 2019-07-27 | 1 | -10/+6 |
| | |||||
* | SERVER-42280 add db name argument to ↵ | Benety Goh | 2019-07-19 | 1 | -0/+1 |
| | | | | | | | IndexBuildsCoordinator::startIndexBuild() and _registerAndSetUpIndexBuild() This sets ReplIndexBuildState::dbName using the db name provided to startIndexBuild() rather than deriving from the CollectionCatalog lookup result. | ||||
* | SERVER-42194 Make Collection always hold a UUID (rather than optional UUID) | Xiangyu Yao | 2019-07-15 | 1 | -3/+3 |
| | |||||
* | SERVER-37954 Thread commitQuorum through the createIndexes command into the ↵ | Gregory Wlodarek | 2019-02-22 | 1 | -2/+9 |
| | | | | Coordinator | ||||
* | 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-39068 Replicate startIndexBuild and commitIndexBuild oplog entrires | Louis Williams | 2019-02-12 | 1 | -2/+2 |
| | |||||
* | SERVER-39086 Refactor system_index.cpp to build indexes using the ↵ | Gregory Wlodarek | 2019-02-09 | 1 | -35/+45 |
| | | | | IndexBuildsCoordinator during startup | ||||
* | SERVER-38091 IndexCatalog iterators and accessors should return const entries | Louis Williams | 2018-12-19 | 1 | -2/+2 |
| | |||||
* | SERVER-38330 merge MultiIndexBlock and MultiIndexBlockImpl | Benety Goh | 2018-12-10 | 1 | -2/+1 |
| | |||||
* | SERVER-37763 MultiIndexBlock::commit() returns Status | Benety Goh | 2018-11-20 | 1 | -2/+2 |
| | | | | This allows MultiIndexBlock to support aborting index builds. | ||||
* | SERVER-37589 add library for MultiIndexBlock | Benety Goh | 2018-10-26 | 1 | -2/+2 |
| | |||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -26/+28 |
| | |||||
* | SERVER-36889 unshim MultiIndexBlock | Benety Goh | 2018-10-12 | 1 | -2/+3 |
| | |||||
* | SERVER-37563 Remove all usages of getGlobalAuthorizationManager | Kaloian Manassiev | 2018-10-12 | 1 | -1/+0 |
| | |||||
* | SERVER-36472 Convert OptionalCollectionUUID in OpObserver::onCreateIndex to ↵ | Gregory Wlodarek | 2018-09-07 | 1 | -2/+2 |
| | | | | CollectionUUID | ||||
* | SERVER-36224 Refactor Collection::updateDocument args | Justin Seyster | 2018-08-26 | 1 | -0/+1 |
| | | | | | | | | | Previously, Collection::updateDocument expected to get a namespace and UUID from its OplogEntryUpdateArgs, but that is not necessary, because the collection already knows its own namespace and UUID. This caused a problem in DurableViewCatalogImpl::upsert(), which did not set the UUID value in the args, leading to oplog entries without their UUID value. | ||||
* | SERVER-34414 Create system indexes using the normal index creation and ↵ | Matthew Russotto | 2018-07-03 | 1 | -7/+23 |
| | | | | | | | replication process. Do not create them directly on secondaries. Do create oplog entries for index creation. | ||||
* | SERVER-24635 replace references to fassertStatusOK with fassert | Benety Goh | 2018-03-07 | 1 | -21/+21 |
| | |||||
* | SERVER-33089 Do not regenerate auth indexes in queryable backup mode | Spencer Jackson | 2018-02-05 | 1 | -0/+8 |
| | |||||
* | SERVER-17846: Forbid $isolated outside of update/delete user operations | Nick Zolnierz | 2017-10-23 | 1 | -5/+9 |
| | |||||
* | SERVER-31184 Make servers automatically set up config.system.sessions | samantharitter | 2017-10-11 | 1 | -46/+0 |
| | |||||
* | SERVER-31174 Move the sessions collection to config.system.sessions | samantharitter | 2017-09-25 | 1 | -58/+70 |
| | |||||
* | Revert "SERVER-31174 Move the sessions collection to config.system.sessions" | Ian Whalen | 2017-09-22 | 1 | -70/+58 |
| | | | | This reverts commit ba1704f7cbc0b9a03a181df145f75f433a59b7df. | ||||
* | SERVER-31174 Move the sessions collection to config.system.sessions | samantharitter | 2017-09-22 | 1 | -58/+70 |
| | |||||
* | SERVER-29544 Remove deprecated macro calls. | Ian Kuehne | 2017-07-03 | 1 | -6/+4 |
| | |||||
* | SERVER-28344: Implement the admin.system.sessions collection | Spencer Jackson | 2017-06-20 | 1 | -0/+253 |