summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/parallel_collection_scan.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-34443 Refactor WiredTigerRecoveryUnit and WiredTigerSnapshotManager. ↵Louis Williams2018-05-151-1/+1
| | | | An enum is now used to indicate at which time to read on a RecoveryUnit.
* SERVER-33690 Transaction abort and commit should kill any associated client ↵James Wahlin2018-04-161-1/+0
| | | | cursors
* SERVER-33354 Add snapshot read support for additional commandsJames Wahlin2018-03-201-1/+9
|
* SERVER-33609 Pass readConcernLevel to WiredTigerRecoveryUnitXiangyu Yao2018-03-091-1/+1
|
* SERVER-32367 Clean up the AutoGet* suite of classesKaloian Manassiev2018-02-141-26/+18
| | | | | | * Get rid of AutoGetCollectionOrViewForReadCommand * Get rid of constructors accepting Lock::DBLock * Always check for shard version, unless the namespace represents a view
* SERVER-33286 Provide service context in Command::secondaryAllowed to allow ↵Henrik Edin2018-02-141-1/+1
| | | | getting interfaces without using global get function.
* SERVER-33136 const-ify the command auth accessorsBilly Donahue2018-02-061-1/+1
|
* SERVER-32367 Make AutoGetCollection throw if UUID cannot be resolvedKaloian Manassiev2018-02-061-39/+32
|
* SERVER-32958 unrevert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Billy Donahue2018-01-311-2/+2
| | | | | | w/fix: update a new command to secondaryAllowed This reverts commit d75cb425fbc3cf4b569eb1722c3f8abec45654a2.
* Revert "SERVER-32958 slaveOk,slaveOverrideOk replacement"Judah Schvimer2018-01-311-2/+2
| | | | This reverts commit be24b0323d3f2d424d9e22337f4221d39001ac31.
* SERVER-32958 slaveOk,slaveOverrideOk replacementBilly Donahue2018-01-311-2/+2
| | | | declare read_preference dep. update service_entry_opint_embedded
* SERVER-32517 Parse readConcern snapshot and atClusterTimeTess Avitabile2018-01-231-1/+3
|
* SERVER-32646 CommandHelpersBilly Donahue2018-01-161-11/+12
|
* SERVER-31248: Use of UUID in command requires privilegeSpencer Jackson2017-09-291-9/+15
|
* SERVER-29839 Protect from mid-command renames in parseNsOrUUIDMaria van Keulen2017-08-301-1/+2
|
* SERVER-29987 pass afterClusterTime to all commandsMisha Tyulenev2017-08-151-1/+1
|
* SERVER-29669 parallelCollectionScan should always return a single cursor for ↵Jason Chan2017-07-251-3/+14
| | | | capped collections
* SERVER-29731 get errmsg out of BasicCommand apiMathias Stearn2017-07-131-1/+0
| | | | It is now only used by commands deriving from ErrmsgCommandDeprecated.
* SERVER-29731 convert all direct subclasses of Command to BasicCommandMathias Stearn2017-07-131-2/+2
|
* SERVER-29668 Extend 'parallelCollectionScan' to take a collection UUID argumentJason Chan2017-06-231-1/+1
|
* SERVER-19318 Add $currentOp aggregation stage for mongoDBernard Gorman2017-05-261-1/+1
|
* SERVER-29260 Make BSONObj argument to Command::run() const&Mathias Stearn2017-05-171-1/+1
|
* SERVER-25694 Eliminate race in PlanExecutor cleanup.Charlie Swanson2017-04-131-5/+2
| | | | | | | | | | | 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-28701 Remove queryOptions argument from Command::run()Mathias Stearn2017-04-121-1/+0
|
* SERVER-9609 Ensure users can only call getMore on cursors they createdTess Avitabile2017-03-221-0/+1
|
* Revert "SERVER-9609 Ensure users can only call getMore on cursors they created"Tess Avitabile2017-03-211-1/+0
| | | | This reverts commit 9e7974e4b6e2b3fe5e7741dce6549624113af196.
* SERVER-9609 Ensure users can only call getMore on cursors they createdTess Avitabile2017-03-171-0/+1
|
* SERVER-22541 Manage aggregation cursors on global cursor manager.Charlie Swanson2017-03-151-4/+5
| | | | | | Moves registration of aggregation cursors to the global cursor manager. This simplifies the logic for acquiring locks and resolving view namespaces within the getMore and killCursors commands.
* SERVER-22541 Refactor RAII locking helpers.Charlie Swanson2017-03-151-1/+1
| | | | | | | | | 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-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-7/+7
| | | | | | 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-27306 Remove AutoGetCollection methods with std::string namespaceJames Wahlin2016-12-191-1/+2
|
* SERVER-24128 reject embedded null bytes in namespace string parsingDavid Storch2016-12-091-1/+1
|
* SERVER-27065 cleanup ClientCursor, ClientCursorPin, and CursorManagerDavid Storch2016-12-021-9/+9
| | | | | | | | | | | - Makes cursors come into existence pinned. This fixes a race condition in which a cursor could time out in between being constructed/retrieved and being pinned. - Reduces the public interface of ClientCursor. In particular, makes ClientCursor's constructor and destructor private. - Cleans up header file comments in order to more clearly indicate expected usage.
* SERVER-25488 merge ClientBasic and ClientKyle Suarez2016-08-081-1/+1
|
* SERVER-5905 Add operation latency histogramKevin Albertson2016-06-241-0/+4
|
* Revert "SERVER-5905 Add operation latency histogram"Mathias Stearn2016-06-241-4/+0
| | | | This reverts commit c7794350b056cdea85e1c6185a7dda4579936179.
* SERVER-5905 Add operation latency histogramKevin Albertson2016-06-231-0/+4
| | | | Signed-off-by: Kyle Suarez <kyle.suarez@mongodb.com>
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-2/+3
|
* SERVER-18277 Track operation deadlines in OperationContext, not CurOp.Andy Schwerin2016-05-231-1/+1
| | | | This also unifies the implementations of checkForInterrupt and checkForInterruptNoAssert.
* SERVER-20224 commands that write support writeConcernJudah Schvimer2016-04-121-0/+3
|
* SERVER-23407 Get rid of public fields in the Command classKaloian Manassiev2016-03-301-32/+32
|
* SERVER-23024 remove isWriteCommandForConfigServer methodMisha Tyulenev2016-03-151-3/+0
|
* SERVER-13411 parallelCollectionScan takes maxTimeMSTess Avitabile2016-02-041-0/+2
|
* SERVER-19569 Combine getmore_response.h with cursor_responses.hJason Rassi2015-08-281-1/+1
|
* SERVER-19207 SERVER-19210 committed reads wait for a committed snapshot and ↵matt dannenberg2015-07-191-1/+1
| | | | read committed ignored on masterslave and standalone
* SERVER-17364 Don't stash RecoveryUnits across getMoresMathias Stearn2015-07-161-33/+18
| | | | | | | We now tell PlanExecutors to detach from their OperationContexts and to shed all storage engine resources before stashing the ClientCursor. This is a heavier weight operation than a normal save/restoreState which is no longer allowed to change the OperationContext.
* SERVER-18022 Read Majority Committed implementation for primary nodesMathias Stearn2015-06-291-0/+18
|
* SERVER-16889 Modernize getExecutor*(), PlanExecutor::make() signaturesQingyang Chen2015-06-261-7/+9
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-109/+102
|
* SERVER-17309 Replace std::auto_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-101-2/+2
|