summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbhelpers.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Apply formatting per `clang-format-7.0.1`clang-format-7.0.12019-07-261-1/+1
|
* SERVER-40724 Change namespace arguments to use NamespaceStringGeert Bosch2019-04-261-1/+1
|
* SERVER-40381 Add the ability to specify a pipeline to an update commandJames Wahlin2019-04-111-2/+2
|
* 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-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-38179 Refactor RemoveSaver out of dbhelpersRandolph Tan2019-01-111-128/+0
|
* SERVER-38091 IndexCatalog iterators and accessors should return const entriesLouis Williams2018-12-191-2/+2
|
* SERVER-37446 Make UPDATE and DELETE inherit from RequiresMutableCollectionStage.David Storch2018-11-121-5/+0
| | | | | Also deletes UpdateLifecyle, which was used as part of the UpdateStage's yield recovery, but is no longer necessary.
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-36889 unshim MultiIndexBlockBenety Goh2018-10-121-1/+0
|
* SERVER-34644 Assert that ShardKeyPattern is always constructed with a valid keyKaloian Manassiev2018-04-261-2/+0
| | | | | | | There is never a reason to construct ShardKeyPattern with an invalid shard key because this information comes from the sharded metadata. Asserting that this is the case allows us to also get rid of all the ShardKeyPattern::isValid checks.
* SERVER-30005: remove $isolated/$atomic optionNick Zolnierz2018-03-211-2/+1
|
* Revert "SERVER-30005: remove $isolated/$atomic option"Nick Zolnierz2018-03-201-1/+2
| | | | This reverts commit cd950b113ee0d00e88036b2fe6306866c7ba27f9.
* SERVER-30005: remove $isolated/$atomic optionNick Zolnierz2018-03-201-2/+1
|
* SERVER-29908 Create skeleton libraries for the sharding subsystemKaloian Manassiev2018-02-131-9/+1
| | | | | | | | | Splits the sharding sybsystem into 3 main libraries, which are currently mostly empty, but we will start moving code from all the other existing libraries into them. The libraries are: s/sharding_api, db/s/sharding_api and db/s/sharding_runtime
* SERVER-33105 Fix use-after-move bug in Helpers::findOne()Ian Boros2018-02-081-1/+1
|
* SERVER-32318 Fine grained locking in doTxnSiyuan Zhou2018-01-291-3/+13
|
* SERVER-17846: Forbid $isolated outside of update/delete user operationsNick Zolnierz2017-10-231-1/+2
|
* SERVER-30731 Add expr support in MatchExpression outside of aggregationTess Avitabile2017-10-051-2/+1
|
* SERVER-29840 Add allowed features bitmask to MatchExpressionParser::parseTess Avitabile2017-08-251-1/+8
|
* SERVER-27699 Capture actual error from getExecutorNatalia Jacobowitz2017-07-061-6/+2
|
* SERVER-26239 Improve handling of WT_CACHE_FULL for inMemory storage engineAlex Gorrod2017-04-211-11/+11
|
* SERVER-27921 New Range DeleterNathan Myers2017-04-201-189/+0
|
* SERVER-25694 Eliminate race in PlanExecutor cleanup.Charlie Swanson2017-04-131-21/+16
| | | | | | | | | | | Ensures that a collection lock is held in at least MODE_IS while deregistering a PlanExecutor from the cursor manager. Introduces new PlanExecutor::dispose() and ClientCursor::dispose() methods that must be called before destruction of those classes, and ensures they are called before destruction. These calls will thread an OperationContext all the way through to DocumentSource::dispose() for each stage in a Pipeline, which will give DocumentSourceCursor a chance to acquire locks and deregister its PlanExecutor if necessary.
* SERVER-28543 Add OperationContext as an argument to getCollectionMaria van Keulen2017-04-061-2/+2
|
* SERVER-27691 Make OperationContext::setKillAllOperations interrupt all ↵Kaloian Manassiev2017-04-051-28/+0
| | | | operations
* SERVER-28534 Pass collection names around as NamespaceStrings more oftenGeert Bosch2017-04-021-5/+5
| | | | | | | Before this patch 'ns' values were often passed around as std::string or char* containing either a dbname (no '.'), a dbname with '.$cmd', or a fully qualified collection name. Instead pass either plain 'dbName' value (as string) or a fully qualified name using the actual NamespaceString type.
* SERVER-22541 Refactor RAII locking helpers.Charlie Swanson2017-03-151-3/+3
| | | | | | | | | Removes the class 'ScopedTransaction' and moves the responsibility of abandoning the snapshot onto the GlobalLock class. Also renames the AutoGetCollectionForRead class to AutoGetCollectionForReadCommand, and adds a new AutoGetCollectionForRead class. Unlike AutoGetCollectionForReadCommand, this new class will not update the namespace on the CurrentOp object, nor will it add an entry to Top.
* SERVER-26965 Use RAII type for turning off replicated writesMatthew Russotto2017-03-131-3/+1
|
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-52/+61
| | | | | | This commit is an automated rename of all whole word instances of txn, _txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all .cpp and .h files in src/mongo.
* SERVER-27914 Verify canAcceptWritesForDatabase() is called while the caller ↵Matthew Russotto2017-03-061-1/+1
| | | | | | holds the global lock This reverts commit 3e5314c3f2be49666ca5d7aa766c934ba7d6cbe9.
* Revert "SERVER-26965 Use RAII type for turning off replicated writes."Matthew Russotto2017-03-061-1/+1
| | | | This reverts commit befb3ab22daa1f6e0db54af4caa426cfca1b7cd2.
* SERVER-26965 Use RAII type for turning off replicated writes.Matthew Russotto2017-03-061-1/+1
|
* SERVER-27306 Remove AutoGetCollection methods with std::string namespaceJames Wahlin2016-12-191-16/+16
|
* SERVER-24994 Check in Helpers::removeRange() if shard key index dropped.Max Hirschhorn2016-11-151-0/+6
|
* SERVER-26459 use AutoGetCollection instead of AutoGetOrCreateDb in the ↵Esha Maharishi2016-10-051-1/+1
| | | | RangeDeleter
* SERVER-26412 Do not pass empty strings into ↵samantharitter2016-10-051-0/+3
| | | | boost::filesystem::create_directories
* SERVER-26033 Allow simple range to exclude start keyJudah Schvimer2016-09-151-2/+4
|
* SERVER-24033 Write full index spec in oplog entry for index creation.Max Hirschhorn2016-09-141-1/+3
| | | | | | | | | | | | | | | This ensures that the index version (aka the "v" field) is always present in the oplog entry when creating indexes on a 3.4 primary. We can therefore assume that if the "v" field isn't present in the corresponding oplog entry, then a v=1 index should be built. Changes MultiBlockIndex::init() to return the index specifications that were actually created. The "repairDatabase", "compact", "copydb", and "cloneCollection" commands no longer automatically upgrade the index version to the current default version. Instead, the only command that does so is the "reIndex" command.
* SERVER-24991 log redaction for commands, concurrency, exec, indexThomas Schubert2016-09-021-8/+8
|
* SERVER-24239 Allow creation of indexes with the same key pattern.David Hatch2016-07-281-41/+37
|
* SERVER-24664 Get rid of calls to ShardingState::getCollectionMetadataLeon Zaruvinsky2016-06-221-2/+2
|
* SERVER-23238 remove the public method PlanExecutor::collection()Sally McNichols2016-06-091-1/+1
|
* SERVER-24118 Rename LiteParsedQuery to QueryRequest.David Hatch2016-06-031-3/+3
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-4/+4
|
* SERVER-23933 Remove OpDebug from ops/update.cpp::update()James Wahlin2016-05-191-4/+2
|
* SERVER-24045 Refactor CanonicalQuery::canonicalize()Tess Avitabile2016-05-101-2/+4
|
* SERVER-23610 CanonicalQuery should own a CollatorInterfaceTess Avitabile2016-05-051-1/+2
|
* SERVER-23128 Remove sharding logic from UpdateLifecycleImplMathias Stearn2016-04-211-2/+2
| | | | It didn't actually do anything
* SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD opsJames Wahlin2016-04-211-1/+2
|