summaryrefslogtreecommitdiff
path: root/src/mongo/db/cloner.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-44405 Use intent locks for collection creation via createIndexesMaria van Keulen2019-12-101-1/+1
|
* SERVER-43436 Remove outdated TODO commentRandolph Tan2019-12-021-1/+0
|
* SERVER-43859: Take MODE_IX locks for collection creation.Daniel Gottlieb2019-11-261-6/+9
| | | | | | | | | | | | | | | | | 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-44276: Change storage engine catalog map to be keyed by RecordId ↵Daniel Gottlieb2019-11-061-2/+2
| | | | instead of Namespace.
* SERVER-44028 Remove global X lock for ClonerGregory Wlodarek2019-11-011-4/+4
|
* SERVER-39002 MultiIndexBlock::cleanUpAfterBuild() accepts a post-catalog ↵Benety Goh2019-10-081-1/+2
| | | | update callback
* SERVER-43273 Add UUID support to count and getIndexSpecs in DBClientVesselina Ratcheva2019-10-071-3/+2
|
* SERVER-43317 merge failpoint headers. Rewrite docs.Billy Donahue2019-10-031-1/+1
| | | | iterate docs
* SERVER-43323 All replicated index builds should write startIndexBuildLouis Williams2019-09-301-10/+44
| | | | | | | 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 Dobranov2019-09-301-6/+9
| | | | CollectionCatalog::get().lookupCollectionByNamespace()
* SERVER-43119 FailPoint cleanupBilly Donahue2019-09-101-1/+1
| | | | | | | | | | | - Don't use MONGO_INITIALIZER to declare each fail point. We only need one init task in total: freeze and iterate the registry. - remove MONGO_FAIL_POINT_DECLARE macro (extern) - remove MONGO_FAIL_POINT_SHOULD_FAIL macro (FailPoint::shouldFail) - remove MONGO_FAIL_POINT_BLOCK_IF (FailPoint::executeIf) - remove MONGO_FAIL_POINT_BLOCK (FailPoint::execute) - clean up FailPointRegistry and fail_point_service implementation.
* SERVER-41696 Remove the 'ns' field from index specsGregory Wlodarek2019-07-291-48/+15
|
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-29/+17
|
* SERVER-42194 Make Collection always hold a UUID (rather than optional UUID)Xiangyu Yao2019-07-151-1/+1
|
* SERVER-41683 Only check UUID in movePrimary collection clonerjannaerin2019-07-031-61/+54
|
* SERVER-40717 Remove CollectionCatalogEntry and KVColletionCatalogEntryXiangyu Yao2019-06-281-1/+0
|
* SERVER-38796 Refactor CollectionOptions::parse to be staticDaniel Solnik2019-06-281-12/+9
|
* Revert "SERVER-38796 Refactor CollectionOptions::parse to be static"Daniel Solnik2019-06-261-9/+12
| | | | This reverts commit f16da96fdbb9a151cbc9890802c53370298b4fd2.
* SERVER-39524 remove NamespaceString::virtualized() and friendsGabe Villasana2019-06-261-4/+0
|
* SERVER-38796 Refactor CollectionOptions::parse to be staticDaniel Solnik2019-06-261-12/+9
|
* SERVER-41819 Move methods from KVCollectionCatalogEntry to KVCatalogXiangyu Yao2019-06-211-2/+4
|
* SERVER-41140 All usages of MultiIndexBlock should ensure callers check for ↵Gregory Wlodarek2019-06-191-0/+1
| | | | duplicate key constraints
* SERVER-41071 Replace NULL and 0 with nullptrA. Jesse Jiryu Davis2019-06-141-8/+8
|
* SERVER-39338 Remove `stdx/functional.h`ADAM David Alan Martin2019-06-101-1/+1
|
* SERVER-40724 Change namespace arguments to use NamespaceStringGeert Bosch2019-04-261-1/+1
|
* SERVER-39323 refactor index spec validation code to make it more modularized ↵Dianna2019-04-221-1/+1
| | | | | | | | | and flexible. - Remove a "$freelist" collection reference, which was removed with MMAPv1 - Modularize a {buildIndexes:false} check that causes a IndexAlreadyExists error to be returned - Split IndexCatalog::removeExistingIndexes into removeExistingIndexes and removeExistingIndexesNoChecks, to be more explicit about the internal behavior.
* SERVER-40476 remove mongoutils::strBilly Donahue2019-04-091-1/+1
| | | | | | Rename utils/mongoutils/str.h => utils/str.h Rename namespace mongoutils::str => str Rename mongo::strcasecmp => str::caseInsensitiveCompare.
* SERVER-40023 remove background index support from IndexBuilderBenety Goh2019-03-071-1/+0
|
* SERVER-37092 Remove old server parameter APISara Golemon2019-03-031-1/+0
|
* SERVER-39534 Migrate server parameters to IDL in src/mongo/db/cloner.cppMathew Robinson2019-02-251-2/+2
|
* SERVER-38097 Pull opCtx and collection ptrs out of MultiIndexBlock and pass ↵Dianna Hohensee2019-02-191-11/+14
| | | | instead as function parameters
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-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 entriresLouis Williams2019-02-121-2/+4
|
* SERVER-9043/SERVER-31156 Link flushRouterConfig on MongoD and make it accept ↵Kaloian Manassiev2019-01-201-1/+0
| | | | a namespace argument
* SERVER-37270 Remove foreground index builds by defaultLouis Williams2019-01-171-1/+0
|
* SERVER-38719 rename DatabaseHolder::get() to getDb()Benety Goh2018-12-201-5/+9
| | | | | Repurpose DatabaseHolder::get() for accessing singleton. Deprecate DatabaseHolder::getDatabaseHolder().
* SERVER-38700 make Database::userCreateNS() a member functionBenety Goh2018-12-191-27/+29
|
* SERVER-37643 move MultiIndexBlock::removeExistingIndexes() to IndexCatalogBenety Goh2018-12-131-3/+6
|
* SERVER-38330 merge MultiIndexBlock and MultiIndexBlockImplBenety Goh2018-12-101-2/+1
|
* SERVER-37763 MultiIndexBlock::commit() returns StatusBenety Goh2018-11-201-1/+1
| | | | This allows MultiIndexBlock to support aborting index builds.
* SERVER-5739 Fix races in RARELY/OCCASIONALLY.Billy Donahue2018-11-161-1/+2
| | | | | Switch to using C++ instead of macros. Fix SERVER-37247: these should fire on first hit.
* SERVER-32978 Advertise SCRAM-SHA-256 authentication for the internal userJonathan Reams2018-11-141-4/+6
|
* SERVER-37589 add library for MultiIndexBlockBenety Goh2018-10-261-2/+2
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-26/+28
|
* SERVER-36889 unshim MultiIndexBlockBenety Goh2018-10-121-2/+3
|
* SERVER-37563 Remove all usages of getGlobalAuthorizationManagerKaloian Manassiev2018-10-121-2/+0
|
* SERVER-36536 Add a server parameter to not use exhaust option for initial sync.Matthew Russotto2018-09-211-1/+2
|
* SERVER-36014 Remove support for IndexVersion V0Geert Bosch2018-09-101-10/+1
|
* SERVER-36472 Convert OptionalCollectionUUID in OpObserver::onCreateIndex to ↵Gregory Wlodarek2018-09-071-1/+1
| | | | CollectionUUID
* SERVER-36015 Remove references to system.namespaces and system.indexesDianna Hohensee2018-08-291-2/+0
|