Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Apply formatting per `clang-format-7.0.1` | clang-format-7.0.1 | 2019-07-26 | 1 | -1/+1 |
| | |||||
* | SERVER-40724 Change namespace arguments to use NamespaceString | Geert Bosch | 2019-04-26 | 1 | -1/+1 |
| | |||||
* | SERVER-40381 Add the ability to specify a pipeline to an update command | James Wahlin | 2019-04-11 | 1 | -2/+2 |
| | |||||
* | SERVER-40476 remove mongoutils::str | Billy Donahue | 2019-04-09 | 1 | -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++ 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-38179 Refactor RemoveSaver out of dbhelpers | Randolph Tan | 2019-01-11 | 1 | -128/+0 |
| | |||||
* | SERVER-38091 IndexCatalog iterators and accessors should return const entries | Louis Williams | 2018-12-19 | 1 | -2/+2 |
| | |||||
* | SERVER-37446 Make UPDATE and DELETE inherit from RequiresMutableCollectionStage. | David Storch | 2018-11-12 | 1 | -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 license | Ramon Fernandez | 2018-10-22 | 1 | -8/+10 |
| | |||||
* | SERVER-36889 unshim MultiIndexBlock | Benety Goh | 2018-10-12 | 1 | -1/+0 |
| | |||||
* | SERVER-34644 Assert that ShardKeyPattern is always constructed with a valid key | Kaloian Manassiev | 2018-04-26 | 1 | -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 option | Nick Zolnierz | 2018-03-21 | 1 | -2/+1 |
| | |||||
* | Revert "SERVER-30005: remove $isolated/$atomic option" | Nick Zolnierz | 2018-03-20 | 1 | -1/+2 |
| | | | | This reverts commit cd950b113ee0d00e88036b2fe6306866c7ba27f9. | ||||
* | SERVER-30005: remove $isolated/$atomic option | Nick Zolnierz | 2018-03-20 | 1 | -2/+1 |
| | |||||
* | SERVER-29908 Create skeleton libraries for the sharding subsystem | Kaloian Manassiev | 2018-02-13 | 1 | -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 Boros | 2018-02-08 | 1 | -1/+1 |
| | |||||
* | SERVER-32318 Fine grained locking in doTxn | Siyuan Zhou | 2018-01-29 | 1 | -3/+13 |
| | |||||
* | SERVER-17846: Forbid $isolated outside of update/delete user operations | Nick Zolnierz | 2017-10-23 | 1 | -1/+2 |
| | |||||
* | SERVER-30731 Add expr support in MatchExpression outside of aggregation | Tess Avitabile | 2017-10-05 | 1 | -2/+1 |
| | |||||
* | SERVER-29840 Add allowed features bitmask to MatchExpressionParser::parse | Tess Avitabile | 2017-08-25 | 1 | -1/+8 |
| | |||||
* | SERVER-27699 Capture actual error from getExecutor | Natalia Jacobowitz | 2017-07-06 | 1 | -6/+2 |
| | |||||
* | SERVER-26239 Improve handling of WT_CACHE_FULL for inMemory storage engine | Alex Gorrod | 2017-04-21 | 1 | -11/+11 |
| | |||||
* | SERVER-27921 New Range Deleter | Nathan Myers | 2017-04-20 | 1 | -189/+0 |
| | |||||
* | SERVER-25694 Eliminate race in PlanExecutor cleanup. | Charlie Swanson | 2017-04-13 | 1 | -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 getCollection | Maria van Keulen | 2017-04-06 | 1 | -2/+2 |
| | |||||
* | SERVER-27691 Make OperationContext::setKillAllOperations interrupt all ↵ | Kaloian Manassiev | 2017-04-05 | 1 | -28/+0 |
| | | | | operations | ||||
* | SERVER-28534 Pass collection names around as NamespaceStrings more often | Geert Bosch | 2017-04-02 | 1 | -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 Swanson | 2017-03-15 | 1 | -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 writes | Matthew Russotto | 2017-03-13 | 1 | -3/+1 |
| | |||||
* | SERVER-27938 Rename all OperationContext variables to opCtx | Maria van Keulen | 2017-03-07 | 1 | -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 Russotto | 2017-03-06 | 1 | -1/+1 |
| | | | | | | holds the global lock This reverts commit 3e5314c3f2be49666ca5d7aa766c934ba7d6cbe9. | ||||
* | Revert "SERVER-26965 Use RAII type for turning off replicated writes." | Matthew Russotto | 2017-03-06 | 1 | -1/+1 |
| | | | | This reverts commit befb3ab22daa1f6e0db54af4caa426cfca1b7cd2. | ||||
* | SERVER-26965 Use RAII type for turning off replicated writes. | Matthew Russotto | 2017-03-06 | 1 | -1/+1 |
| | |||||
* | SERVER-27306 Remove AutoGetCollection methods with std::string namespace | James Wahlin | 2016-12-19 | 1 | -16/+16 |
| | |||||
* | SERVER-24994 Check in Helpers::removeRange() if shard key index dropped. | Max Hirschhorn | 2016-11-15 | 1 | -0/+6 |
| | |||||
* | SERVER-26459 use AutoGetCollection instead of AutoGetOrCreateDb in the ↵ | Esha Maharishi | 2016-10-05 | 1 | -1/+1 |
| | | | | RangeDeleter | ||||
* | SERVER-26412 Do not pass empty strings into ↵ | samantharitter | 2016-10-05 | 1 | -0/+3 |
| | | | | boost::filesystem::create_directories | ||||
* | SERVER-26033 Allow simple range to exclude start key | Judah Schvimer | 2016-09-15 | 1 | -2/+4 |
| | |||||
* | SERVER-24033 Write full index spec in oplog entry for index creation. | Max Hirschhorn | 2016-09-14 | 1 | -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, index | Thomas Schubert | 2016-09-02 | 1 | -8/+8 |
| | |||||
* | SERVER-24239 Allow creation of indexes with the same key pattern. | David Hatch | 2016-07-28 | 1 | -41/+37 |
| | |||||
* | SERVER-24664 Get rid of calls to ShardingState::getCollectionMetadata | Leon Zaruvinsky | 2016-06-22 | 1 | -2/+2 |
| | |||||
* | SERVER-23238 remove the public method PlanExecutor::collection() | Sally McNichols | 2016-06-09 | 1 | -1/+1 |
| | |||||
* | SERVER-24118 Rename LiteParsedQuery to QueryRequest. | David Hatch | 2016-06-03 | 1 | -3/+3 |
| | |||||
* | SERVER-23971 Clang-Format code | Mark Benvenuto | 2016-05-28 | 1 | -4/+4 |
| | |||||
* | SERVER-23933 Remove OpDebug from ops/update.cpp::update() | James Wahlin | 2016-05-19 | 1 | -4/+2 |
| | |||||
* | SERVER-24045 Refactor CanonicalQuery::canonicalize() | Tess Avitabile | 2016-05-10 | 1 | -2/+4 |
| | |||||
* | SERVER-23610 CanonicalQuery should own a CollatorInterface | Tess Avitabile | 2016-05-05 | 1 | -1/+2 |
| | |||||
* | SERVER-23128 Remove sharding logic from UpdateLifecycleImpl | Mathias Stearn | 2016-04-21 | 1 | -2/+2 |
| | | | | It didn't actually do anything | ||||
* | SERVER-23271 Add keysInserted and keysDeleted metrics for CRUD ops | James Wahlin | 2016-04-21 | 1 | -1/+2 |
| |