summaryrefslogtreecommitdiff
path: root/src/mongo/db
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-22541 Refactor RAII locking helpers.Charlie Swanson2017-03-15105-782/+751
| | | | | | | | | 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-28128 Add support for a "comment" parameter to the aggregate...Bernard Gorman2017-03-157-9/+58
| | | ... command
* SERVER-28181 Deadlock involving the mutexes of oplog fetcher and replication ↵Siyuan Zhou2017-03-142-21/+28
| | | | coordinator
* SERVER-28200 Extend dropIndexes oplog entry to include dropped index specJudah Schvimer2017-03-149-33/+211
|
* SERVER-27995 rename DataReplicator to InitialSyncerJudah Schvimer2017-03-1412-599/+596
|
* SERVER-27614 fix linker error on OS XDavid Storch2017-03-141-0/+3
|
* SERVER-27614 add $$REMOVE agg system variableDavid Storch2017-03-136-28/+202
|
* SERVER-27771 add readConcern::afterClusterTimeMisha Tyulenev2017-03-139-54/+245
|
* SERVER-28176 read chunks collections on shardsDianna Hohensee2017-03-134-90/+306
|
* SERVER-28275 fixed election log message in ↵Benety Goh2017-03-133-21/+44
| | | | ReplicationCoordinatorImpl::_startElectSelfIfEligibleV1()
* SERVER-26703 reject commands exceeding the BSON depth limitKyle Suarez2017-03-134-137/+36
| | | | | Any command sent to the server that exceeds the depth limit will fail. This also prevents users from inserting documents that exceed the depth limit.
* SERVER-19758 add support for "executionStats" and "allPlansExecution" to agg ↵David Storch2017-03-13102-1029/+1445
| | | | | | | | | | | | | | | | | explain Like other explainable commands, aggregate can now be explained using the explain command, e.g. db.runCommand({explain: {aggregate: ...}, verbosity: "executionStats"}). The existing explain:true flag corresponds to "queryPlanner" mode and is still supported. However, explain:true cannot be specified when explaining aggregate via the explain command. Additional execution information is provided only in the $cursor section of the aggregation explain output. Having aggregation stages themselves track and report execution info is further work.
* SERVER-26965 Use RAII type for turning off replicated writesMatthew Russotto2017-03-1316-68/+61
|
* SERVER-28121 DurableViewCatalog shouldn't throw on null byte in view nsJames Wahlin2017-03-131-2/+12
|
* SERVER-27670 Improve error messages reported on EBUSY return from WiredTigerDavid Hows2017-03-133-3/+14
|
* SERVER-22611 Sharding catalog cache refactorKaloian Manassiev2017-03-126-78/+79
|
* Revert "SERVER-22611 Sharding catalog cache refactor"Kaloian Manassiev2017-03-126-79/+78
| | | | This reverts commit ae2518adace4ba7ed6a16eba6943bff6ea4ade10.
* SERVER-22611 Sharding catalog cache refactorKaloian Manassiev2017-03-126-78/+79
|
* SERVER-27975 Remove many uses of `OwnedPointerVector`ADAM David Alan Martin2017-03-1035-148/+215
| | | | | This removes many of the remaining uses of the deprecated `OwnedPointerVector` type.
* SERVER-27632 replace 'shardVersion' field in splitChunk with an 'epoch' fieldDianna Hohensee2017-03-101-16/+27
|
* SERVER-28107 Implement OperationTimeTrackerJack Mulrow2017-03-104-0/+203
|
* SERVER-27750 Always attach the configsvr metadata in ShardingEgress*HooksRandolph Tan2017-03-104-9/+3
|
* Revert "Revert "SERVER-27750 Attach LogicalTimeMetadata to globalConnPool ↵Randolph Tan2017-03-1011-25/+27
| | | | | | and shardConnectionPool"" This reverts commit 4e2cb91ed1fe8a9a8caead72a7f0bd56b2ba28d1.
* SERVER-27842 Replace BSONElement.fieldName() calls with ↵nzolnierzmdb2017-03-101-7/+10
| | | | BSONElement.fieldNameStringData() in dotted_path_support.cpp
* SERVER-27711 Allow maxTimeMS option for createIndexes commandJames Wahlin2017-03-101-2/+3
|
* SERVER-25062 Implement interruptible sleep and waitFor methods on ↵Andy Schwerin2017-03-093-10/+201
| | | | OperationContext.
* SERVER-27908 Log every heartbeat during testingWilliam Schultz2017-03-092-6/+29
|
* SERVER-27555 Use proper locking when reading _memberStateSpencer T Brody2017-03-091-13/+36
|
* SERVER-28120 persist config.collections entries on shards for the ↵Dianna Hohensee2017-03-097-189/+931
| | | | collections that the shards possess
* Revert "SERVER-27750 Attach LogicalTimeMetadata to globalConnPool and ↵Randolph Tan2017-03-0911-27/+25
| | | | | | shardConnectionPool" This reverts commit 34dbe2a42d1db621f16555878b57f48efb30cc28.
* SERVER-27329 added unit tests for rollback() (rs_rollback.cpp)Benety Goh2017-03-081-1/+118
| | | | | | | | | added test case for failing to transition to ROLLBACK added test case to verify fatal behavior on unrecoverable rollback errors added test case to verify retry behavior on non-unrecoverabe rollback errors added test case to verify fatal behavior on shard identity document rollback added test case for failing to transition to RECOVERING after returning from syncRollback
* SERVER-27750 Attach LogicalTimeMetadata to globalConnPool and ↵Randolph Tan2017-03-0811-25/+27
| | | | | | shardConnectionPool This also include refactor work to cleanup ShardingEgressMetadataHook api and allow ShardingConnectionHook to take EgressMetadataHookList.
* SERVER-28244 Implement correct waiting for completion of replSetReconfig ↵Andy Schwerin2017-03-082-13/+21
| | | | command in face of running elections.
* SERVER-28243 Introduce a helper function for canceling elections inside ↵Andy Schwerin2017-03-083-45/+35
| | | | | | ReplicationCoordinatorImpl. This is to reduce copy-paste errors in situations where an election must be canceled.
* SERVER-27403 Ensure sync source is ahead and has not rolled back after first ↵Judah Schvimer2017-03-0816-160/+421
| | | | OplogFetcher batch
* SERVER-27329 moved BackgroundSync::_rollback() to rs_rollback.cppBenety Goh2017-03-085-112/+121
| | | | | | Added optional override for sleepsecs to rollback() for testing. Cleaned up dependencies on concrete implementations of OplogInterface and RollbackSource in the SCons configuration.
* SERVER-27329 cleaned up BackgroundSync::_rollback() argument.Benety Goh2017-03-085-65/+103
| | | | | | | Moved dependencies on concrete classes and StorageInterace::get() out of _rollback() into BackgroundSync::_produce(). This commit also removes the dependency on StorageInterface::get() from syncRollback().
* SERVER-27329 added insertion operator to MemberStateBenety Goh2017-03-081-0/+9
|
* SERVER-27987 Create and persist UUIDs for newly created collectionsGeert Bosch2017-03-0820-87/+295
|
* SERVER-27570: Enforce stricter checks on top level command BSON objectsSpencer Jackson2017-03-081-24/+28
|
* SERVER-27749 Integrate LogicalTimeMetadataRandolph Tan2017-03-0717-59/+223
| | | | Attach logical time metadata to all outgoing messages and process incoming logical time metadata in mongod
* SERVER-28158 SnapshotThread should stop using LogicalClock to trigger snapshotsRandolph Tan2017-03-071-4/+9
| | | | Note: This is a temporary band aid since the snapshot thread is slated for removal soon.
* SERVER-23310 Add aggregation expression $arrayToObjectWan Bachtiar2017-03-072-0/+108
| | | | Signed-off-by: Tess Avitabile <tess.avitabile@mongodb.com>
* SERVER-27938 Fix compile issues and typos in txn to opCtx renameMaria van Keulen2017-03-076-16/+10
|
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-07614-10714/+10981
| | | | | | 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-28196 Make legacy query and getMore appear in a consistent format ↵Bernard Gorman2017-03-073-20/+34
| | | | | | | | across currentOp, profiler and logs Closes #1139 Signed-off-by: David Storch <david.storch@10gen.com>
* SERVER-27914 Verify canAcceptWritesForDatabase() is called while the caller ↵Matthew Russotto2017-03-0641-102/+196
| | | | | | holds the global lock This reverts commit 3e5314c3f2be49666ca5d7aa766c934ba7d6cbe9.
* Revert "SERVER-26965 Use RAII type for turning off replicated writes."Matthew Russotto2017-03-0641-196/+102
| | | | This reverts commit befb3ab22daa1f6e0db54af4caa426cfca1b7cd2.
* SERVER-27995 make repl_set* naming convention consistentJudah Schvimer2017-03-0668-1001/+985
|
* Revert "SERVER-26703 reject commands exceeding the BSON depth limit"Max Hirschhorn2017-03-064-36/+137
| | | | This reverts commit c2b3178e0cae20a24bc9cc39a750bb864def17e3.