summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/write_commands
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-206-1644/+1532
|
* SERVER-17308 Remove duplicate std::unique_ptr using-declarationsJason Rassi2015-06-191-2/+1
|
* SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-103-8/+6
|
* SERVER-17309 Replace std::auto_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-101-3/+3
|
* SERVER-18807 modified ReplicationCoordinator::canAcceptWritesForDatabases to ↵Benety Goh2015-06-091-2/+1
| | | | accept a namespace instead of a database name
* SERVER-18347 Attach ShardedConnectionInfo as a client decorationAndrew Morrow2015-06-082-5/+5
|
* SERVER-18277 Move server status metrics code out of curop.cpp into ↵Andy Schwerin2015-06-051-1/+2
| | | | curop_metrics.cpp.
* SERVER-18277 Get references to the Top object out of CurOp.Andy Schwerin2015-06-051-1/+7
|
* SERVER-18277 Stronger locking rules for CurOp and OpDebug.Andy Schwerin2015-06-051-27/+26
|
* SERVER-18277 Stop using OldClientContext in BatchExecutor.Andy Schwerin2015-06-042-77/+38
| | | | This simplifies the interaction between write commands and the curop structure.
* Reapply "SERVER-14995 Move operation id, lockState and client fields to ↵Andy Schwerin2015-06-021-3/+6
| | | | | | OperationContext." This reverts commit e181ea38af737ef7aaf5f8228f870d8c7149b2bb.
* Revert "SERVER-14995 Move operation id, lockState and client fields to ↵Spencer T Brody2015-05-291-6/+3
| | | | | | OperationContext." This reverts commit 4ea38c308da292f43e29d32b1b53b7324db0bafe.
* SERVER-14995 Move operation id, lockState and client fields to OperationContext.Andy Schwerin2015-05-291-3/+6
| | | | | | | | | | | | | They have been moved from OperationContextImpl. Furthermore, the CurOp stack is now attached to OperationContext, instead of Client. With this change, an operation's lifetime is governed by the lifetime of an OperationContext object. The "_active" field of CurOp is therefore no longer meaingful. This required fixing the lifetime of OperationContext in a few places. A future change will adjust operation lifetime timing to time the lifetime of the OperationContext object, as well.
* SERVER-18277/SERVER-18482 Remove "_remote" field from CurOp.Andy Schwerin2015-05-221-4/+3
|
* Revert "Revert "SERVER-18515 Replace OperationContext::getCurOp with ↵Ernie Hershey2015-05-182-7/+7
| | | | | | CurOp::get(OperationContext*)"" This reverts commit 7147e127644cba2bfa292945557b43664cc31f47.
* Revert "SERVER-18515 Replace OperationContext::getCurOp with ↵Ernie Hershey2015-05-182-7/+7
| | | | | | CurOp::get(OperationContext*)" This reverts commit d5bf63455aa614d98ac840f09ce5ca6b813b9507.
* SERVER-18515 Replace OperationContext::getCurOp with ↵Andy Schwerin2015-05-182-7/+7
| | | | CurOp::get(OperationContext*)
* SERVER-18171: Rename commitAndRestart to abandonSnapshotGeert Bosch2015-05-151-6/+6
|
* SERVER-18227 Fix minor typosMathias Stearn2015-05-151-9/+9
|
* SERVER-18227 Add bypassDocumentValidation option to commands that need itMathias Stearn2015-05-142-12/+21
|
* SERVER-18217 Change Timestamp to OpTime where appropriate.Siyuan Zhou2015-05-121-2/+2
|
* SERVER-5218 Batch oplog writes always wait for journal.Siyuan Zhou2015-04-302-35/+1
|
* Revert "SERVER-5218 Batch oplog writes always wait for journal."Siyuan Zhou2015-04-292-1/+35
| | | | This reverts commit 27a8cb772d9e876fc7549a2c6ce3c1a62a4a394f.
* SERVER-5218 Batch oplog writes always wait for journal.Siyuan Zhou2015-04-292-35/+1
|
* SERVER-18131 Clean up LastError.Andy Schwerin2015-04-293-9/+10
| | | | | | | | Makes LastError a decoration on Client. Removes behavior that was specific to the dbKillCursors wire protocol message into the processing for that message, and out of last error. Simplifies lifetime of LastError. It always exists on Clients, so there's no checking for its existence, and no passing it around through parts of the networking library.
* Revert "SERVER-18131 Clean up LastError."Andy Schwerin2015-04-233-10/+9
| | | | | This reverts commit 54c25da33ec7270295c8948f6a51376ec4fd278c and commit c952a9396a1843aa45d6afa3c6785dec607de112.
* SERVER-18131 Clean up LastError.Andy Schwerin2015-04-233-9/+10
| | | | | | | | Makes LastError a decoration on Client. Removes behavior that was specific to the dbKillCursors wire protocol message into the processing for that message, and out of last error. Simplifies lifetime of LastError. It always exists on Clients, so there's no checking for its existence, and no passing it around through parts of the networking library.
* SERVER-15860 Switch replication metadata ops to be replication-specific, ↵matt dannenberg2015-04-173-10/+5
| | | | rather than using commands
* SERVER-17817 Make AuthorizationSession a decoration of ClientBasic.Andy Schwerin2015-04-161-1/+1
|
* SERVER-17573 move OpObserver calls into the datalayer as much as possible ↵matt dannenberg2015-04-092-12/+2
| | | | and eliminate repl bools
* SERVER-17817 Make CurOp a decoration of ClientBasic, not a member of Client.Andy Schwerin2015-04-071-3/+3
|
* SERVER-17817 Move replication-specific data from Client into ReplClientInfo ↵Andy Schwerin2015-04-061-2/+7
| | | | decoration.
* SERVER-17878 Rename GlobalEnvironmentExperiment to ServiceContext.Andy Schwerin2015-04-031-3/+3
|
* SERVER-5218 Replicate journal write concern flagSiyuan Zhou2015-04-012-4/+40
|
* SERVER-17805 logOp / OperationObserver should always check shardversionRandolph Tan2015-04-011-0/+63
|
* SERVER-6558 Attach write concern to operation context.Siyuan Zhou2015-03-273-52/+14
|
* SERVER-17758 Move AutoGet* and Client::*Context to their own file.Andy Schwerin2015-03-272-15/+17
| | | | | The new file is mongo/db/db_raii.h. Also, Client::Context is now OldClientContext and Client::WriteContext is OldClientWriteContext.
* SERVER-6558 Add writeConcern option to findAndModify commandDaniel Alabi2015-03-171-8/+0
|
* Revert "SERVER-6558 Add writeConcern option to findAndModify command"Daniel Alabi2015-03-161-0/+8
| | | | This reverts commit bb9b4e27c8c31542af52d80f4c3751c435909d69.
* SERVER-6558 Add writeConcern option to findAndModify commandDaniel Alabi2015-03-161-8/+0
|
* SERVER-13896 Replace logOp() with a more operation-aware observer interfacematt dannenberg2015-03-111-5/+8
|
* SERVER-17489: in bulk ops, only mark last operation with commit=synchronousEliot Horowitz2015-03-082-7/+23
|
* SERVER-17330 move handshake cmd to master/slaveEric Milkie2015-02-251-1/+0
|
* SERVER-17175 Use X lock for $isolated updates and deletesMathias Stearn2015-02-131-2/+4
|
* SERVER-17248 WCE retry loop for collection creation on upsertMathias Stearn2015-02-131-17/+19
|
* SERVER-16799 Report locking stats in the slow query logKaloian Manassiev2015-02-111-1/+4
|
* SERVER-17205 do not proceed with bulk update on the primary when it is ↵Benety Goh2015-02-061-0/+13
| | | | stepped down
* SERVER-16940 Change pass-by-const-ref of StringData to pass-by-valueTyler Brock2015-02-062-4/+4
|
* SERVER-17027 Properly clean up WriteBatchExecutor::ExecInsertsState on ↵Andy Schwerin2015-01-231-2/+3
| | | | WriteConflictException.
* SERVER-16337: retry WriteConflictException on insert pathEliot Horowitz2015-01-221-12/+29
|