summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbhelpers.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Revert "SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD ops"Benety Goh2016-04-211-2/+1
| | | | This reverts commit 6bbaee174447ee1c9177c72bdd07f050ab07e901.
* SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD opsJames Wahlin2016-04-211-1/+2
|
* Revert "SERVER-23445 create LocalClient class for local queries/writes, ↵Dianna Hohensee2016-04-061-0/+6
| | | | | | implement a find query interface" This reverts commit 02779909333ff4333c316b54b9fbb2fdd635e15a.
* SERVER-23445 create LocalClient class for local queries/writes, implement a ↵Dianna Hohensee2016-04-051-6/+0
| | | | find query interface
* SERVER-20207 replace massert with uassert in dbhelpers' Helpers::removeRangeDianna Hohensee2016-03-161-1/+1
|
* SERVER-22425 execStats in system.profile should only report winning planJames Wahlin2016-02-261-2/+1
|
* SERVER-13123 All callers of PlanExecutor::getNext need to deal with error ↵Tess Avitabile2016-02-181-1/+13
| | | | returns
* SERVER-22113 Remove unused sharding-specific getLocsInRange codeKaloian Manassiev2016-01-111-94/+0
|
* Revert "SERVER-22052 refactor Collection::deleteDocument to pass in the ↵Dianna Hohensee2016-01-061-1/+1
| | | | | | to-be-deleted document directly as a parameter." This reverts commit 3b29ba46f2d7ce938ea0f084b2d0cb46d46c651e.
* SERVER-22052 refactor Collection::deleteDocument to pass in the ↵Dianna Hohensee2016-01-051-1/+1
| | | | to-be-deleted document directly as a parameter.
* SERVER-21678 setting fromMigrate flag for deletes in oplogDianna Hohensee2016-01-041-1/+1
|
* SERVER-21382 Remove unused _id-extracting out parameter from ↵Andy Schwerin2015-12-091-2/+1
| | | | Collection::deleteDocument
* SERVER-21520: Ensure encrypted rollback files end in '.enc'Spencer Jackson2015-11-201-0/+1
|
* SERVER-21404: Add rollback file coverage to ESESpencer Jackson2015-11-131-1/+77
|
* SERVER-19510 Refactor WhereMatchExpression/WhereNoOpMatchExpressionJason Rassi2015-11-061-0/+1
| | | | | | | | | | - Moves ExtensionsCallbackReal and ExtensionsCallbackNoop to their own files, and introduces a new library 'expressions_mongod_only' in db/matcher/. - Introduces a common base class for WhereMatchExpression and WhereNoOpMatchExpression. - Introduces a protected method extractWhereMatchExpressionParams() on ExtensionsCallback.
* SERVER-19510 ExtensionsCallbackReal ctor take ptr to NamespaceStringJason Rassi2015-11-051-1/+1
|
* SERVER-19510 Rename MatchExpressionParser::WhereCallbackJason Rassi2015-11-051-2/+2
|