summaryrefslogtreecommitdiff
path: root/src/mongo/db
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-25966 added CollectionCloner tests for metadata retriesBenety Goh2016-12-294-0/+158
|
* SERVER-27175 Improve performance of planSummary string generationJames Wahlin2016-12-273-15/+57
|
* SERVER-27406 Reduce DocumentSourceCursor batch size from 16MB to 4MBJames Wahlin2016-12-273-8/+4
|
* Revert "SERVER-26126 Remove broken LockState caching"Geert Bosch2016-12-276-8/+49
|
* SERVER-26734 indexStats action is not sufficient for $indexStatsJames Wahlin2016-12-271-3/+2
|
* SERVER-26126 Fix repl unittestsGeert Bosch2016-12-233-0/+13
|
* SERVER-26126 Remove broken LockState cachingGeert Bosch2016-12-229-62/+8
|
* SERVER-27466 additional fix: lock around checking _inShutdown in ↵Esha Maharishi2016-12-221-4/+6
| | | | ReplicationCoordinator
* SERVER-24398 Remove use of boost NOEXCEPT macros in favor of true C++11 noexceptMark Benvenuto2016-12-221-3/+2
|
* SERVER-27393 Balancer should skip dropped collectionsNathan Myers2016-12-211-0/+8
|
* Revert "SERVER-27383 Balancer should skip dropped collections" (sp)Nathan Myers2016-12-211-8/+0
| | | | This reverts commit 865a2da42dc56ca77f32a07cac5b7130ed21d7d0.
* SERVER-27466 move transitionToPrimaryHangBeforeInitializingConfigDatabase to ↵Esha Maharishi2016-12-212-15/+16
| | | | before taking the global exclusive lock
* SERVER-27383 Balancer should skip dropped collectionsNathan Myers2016-12-211-0/+8
|
* SERVER-27480 Move ShardRegistry updates out of sharding config.hKaloian Manassiev2016-12-211-2/+2
|
* SERVER-13554 Improve error message for mapReduce ns not foundTess Avitabile2016-12-201-2/+4
|
* Revert "SERVER-27415 Deduplicate `Command::execCommand`"ADAM David Alan Martin2016-12-195-218/+184
| | | | This reverts commit 9e8006e02f477cbc2c3088fd6a58c208b8f0c1f2.
* SERVER-27415 Deduplicate `Command::execCommand`ADAM David Alan Martin2016-12-195-184/+218
| | | | | | | The `Command::execCommand` symbol is duplicated with implementations for mongos, mongo/mongod, and the test drivers. A registration and handler can be used to eliminate this link-time compatibility issue.
* SERVER-27056 Don't enforce data freshness for stepUp commandJack Mulrow2016-12-196-21/+28
|
* SERVER-27362 Avoid extra logic while getting lock to destroy M/R cursor.Charlie Swanson2016-12-191-1/+11
| | | | | | | | | | | | The mapReduce commands opens a ClientCursor to prevent the RangeDeleter from deleting data from chunks that have been migrated away from the shard. To destroy the ClientCursor at the end of the command, it needs to take a lock on the collection the cursor is registered on. It should not use AutoGetCollectionForRead to acquire this lock since that will do unnecessary extra tasks, including throwing an exception if the shard version no longer matches. Instead, it should simply use AutoGetCollection to get the required lock, to ensure the ClientCursor can be cleaned up correctly.
* SERVER-27288 Release Document ref in DocumentSourceSkip and ↵James Wahlin2016-12-193-3/+24
| | | | DocumentSourceMatch getNext()
* SERVER-27306 Remove AutoGetCollection methods with std::string namespaceJames Wahlin2016-12-1922-147/+148
|
* SERVER-27253 Bump index usage stats during $lookup.Charlie Swanson2016-12-165-14/+19
|
* SERVER-23980 Flush out DocumentComparator library.Charlie Swanson2016-12-163-2/+245
|
* SERVER-25535 Remove injectExpressionContext().Charlie Swanson2016-12-1695-1392/+1888
| | | | | | | | | | | | | | | These methods were formally used to propagate a new ExpressionContext to stages, accumulators, or expressions which potentially needed to comparisons. Originally, this was necessary since Pipeline parsing happened outside of the collection lock and thus could not determine if there was a default collation on the collection. This meant that the collation could change after parsing and any operators that might compare strings would need to know about it. We have since moved parsing within the lock, so the collation can be known at parse time and the ExpressionContext should not change. This patch requires an ExpressionContext at construction time, and disallows changing the collation on an ExpressionContext.
* SERVER-26538 improve sync source change loggingJudah Schvimer2016-12-168-34/+69
|
* SERVER-25992 Remove Value(const char* value) constructorTess Avitabile2016-12-1623-407/+426
|
* SERVER-27428 Wait for the onCommand thread in ↵Kaloian Manassiev2016-12-151-10/+18
| | | | MigrationChunkClonerSourceLegacy's unit-tests
* SERVER-24015 multithread some long running tests in key_string_test, via std ↵Eric Milkie2016-12-151-90/+108
| | | | async
* SERVER-27370 Only do compressor negotiation if a session is availableJonathan Reams2016-12-151-2/+4
|
* SERVER-26944 Make Session decorable and move subsystem info into decorationsJonathan Reams2016-12-147-15/+24
|
* SERVER-27391 Deduplicate `Command::registerError`ADAM David Alan Martin2016-12-144-8/+35
| | | | | | | The `Command::registerError` symbol is duplicated with implementations for mongos, mongo/mongod, and the test drivers. A registration/handler can be used to eliminate this link-time incompatibility.
* SERVER-27257 Deduplicate symbol `newHarnessHelper`ADAM David Alan Martin2016-12-1446-309/+538
| | | | | | | | | | | The `newHarnessHelper` function was defined by multiple test driver modules, each one specializing it to return a specific kind of storage test driver's `HarnessHelper`. The two different kinds of `HarnessHelper` class were given a common base class, and the `newHarnessHelper` function was changed to a single implementation. This new implementation returns the results of a `HarnessHelper` factory function which can be registered by a MONGO_INITIALIZER statement.
* SERVER-27118 Default shutdown command's timeoutSecs argument to 10 secondsJack Mulrow2016-12-141-1/+1
|
* Deduplicate `KVDatabaseCatalogEntry::getIndex`.ADAM David Alan Martin2016-12-1413-531/+653
| | | | | | | | | | | | The `getIndex` function was split into two different implementations, one for test drivers and one for general usage. The general usage form relies upon an external module which creates a circular dependency back into the `db/storage/kv` directory. The circularity is now broken with a mock class for use in the test drivers and a dependency injection factory for another class (`KVStorageEngine`) which should create the correct form of `KVDatabaseCatalogEntry` for tests and external code.
* SERVER-23103 Clean up declaration of db/serveronlyAndrew Morrow2016-12-141-110/+102
|
* SERVER-23103 Remove remaining logic from instance.cppAndrew Morrow2016-12-145-108/+69
|
* SERVER-23103 Add direct dependencies for mongod sourcesAndrew Morrow2016-12-141-1/+4
|
* SERVER-23103 Move assembleResposne to its own libraryAndrew Morrow2016-12-1424-683/+737
|
* SERVER-23103 Move DiagLog to its own libraryAndrew Morrow2016-12-149-91/+190
|
* SERVER-23103 Move ttl to own libraryAndrew Morrow2016-12-141-1/+14
|
* SERVER-23103 Move storage_init.cpp to own libraryAndrew Morrow2016-12-142-1/+12
|
* SERVER-23103 Merge sharding connection hook for mongod into sharding libraryAndrew Morrow2016-12-142-1/+1
|
* SERVER-23103 Move RepairDatabase to its own libraryAndrew Morrow2016-12-141-2/+13
|
* SERVER-23103 Move read and write concern to own libraryAndrew Morrow2016-12-141-2/+19
|
* SERVER-23103 Move mongod range deleter support to own libraryAndrew Morrow2016-12-141-2/+15
|
* SERVER-23103 Move prefetch to its own libraryAndrew Morrow2016-12-141-1/+13
|
* SERVER-23103 Move introspect to its own libraryAndrew Morrow2016-12-141-1/+12
|
* SERVER-23103 Move index things into own libraryAndrew Morrow2016-12-141-3/+15
|
* SERVER-23103 Move CuropMetrics to its own libraryAndrew Morrow2016-12-141-1/+12
|
* SERVER-23103 Move Cloner to its own libraryAndrew Morrow2016-12-141-1/+15
|