Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-34443 Refactor WiredTigerRecoveryUnit and WiredTigerSnapshotManager. ↵ | Louis Williams | 2018-05-15 | 1 | -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 Wahlin | 2018-04-16 | 1 | -1/+0 |
| | | | | cursors | ||||
* | SERVER-33354 Add snapshot read support for additional commands | James Wahlin | 2018-03-20 | 1 | -1/+9 |
| | |||||
* | SERVER-33609 Pass readConcernLevel to WiredTigerRecoveryUnit | Xiangyu Yao | 2018-03-09 | 1 | -1/+1 |
| | |||||
* | SERVER-32367 Clean up the AutoGet* suite of classes | Kaloian Manassiev | 2018-02-14 | 1 | -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 Edin | 2018-02-14 | 1 | -1/+1 |
| | | | | getting interfaces without using global get function. | ||||
* | SERVER-33136 const-ify the command auth accessors | Billy Donahue | 2018-02-06 | 1 | -1/+1 |
| | |||||
* | SERVER-32367 Make AutoGetCollection throw if UUID cannot be resolved | Kaloian Manassiev | 2018-02-06 | 1 | -39/+32 |
| | |||||
* | SERVER-32958 unrevert "SERVER-32958 slaveOk,slaveOverrideOk replacement" | Billy Donahue | 2018-01-31 | 1 | -2/+2 |
| | | | | | | w/fix: update a new command to secondaryAllowed This reverts commit d75cb425fbc3cf4b569eb1722c3f8abec45654a2. | ||||
* | Revert "SERVER-32958 slaveOk,slaveOverrideOk replacement" | Judah Schvimer | 2018-01-31 | 1 | -2/+2 |
| | | | | This reverts commit be24b0323d3f2d424d9e22337f4221d39001ac31. | ||||
* | SERVER-32958 slaveOk,slaveOverrideOk replacement | Billy Donahue | 2018-01-31 | 1 | -2/+2 |
| | | | | declare read_preference dep. update service_entry_opint_embedded | ||||
* | SERVER-32517 Parse readConcern snapshot and atClusterTime | Tess Avitabile | 2018-01-23 | 1 | -1/+3 |
| | |||||
* | SERVER-32646 CommandHelpers | Billy Donahue | 2018-01-16 | 1 | -11/+12 |
| | |||||
* | SERVER-31248: Use of UUID in command requires privilege | Spencer Jackson | 2017-09-29 | 1 | -9/+15 |
| | |||||
* | SERVER-29839 Protect from mid-command renames in parseNsOrUUID | Maria van Keulen | 2017-08-30 | 1 | -1/+2 |
| | |||||
* | SERVER-29987 pass afterClusterTime to all commands | Misha Tyulenev | 2017-08-15 | 1 | -1/+1 |
| | |||||
* | SERVER-29669 parallelCollectionScan should always return a single cursor for ↵ | Jason Chan | 2017-07-25 | 1 | -3/+14 |
| | | | | capped collections | ||||
* | SERVER-29731 get errmsg out of BasicCommand api | Mathias Stearn | 2017-07-13 | 1 | -1/+0 |
| | | | | It is now only used by commands deriving from ErrmsgCommandDeprecated. | ||||
* | SERVER-29731 convert all direct subclasses of Command to BasicCommand | Mathias Stearn | 2017-07-13 | 1 | -2/+2 |
| | |||||
* | SERVER-29668 Extend 'parallelCollectionScan' to take a collection UUID argument | Jason Chan | 2017-06-23 | 1 | -1/+1 |
| | |||||
* | SERVER-19318 Add $currentOp aggregation stage for mongoD | Bernard Gorman | 2017-05-26 | 1 | -1/+1 |
| | |||||
* | SERVER-29260 Make BSONObj argument to Command::run() const& | Mathias Stearn | 2017-05-17 | 1 | -1/+1 |
| | |||||
* | SERVER-25694 Eliminate race in PlanExecutor cleanup. | Charlie Swanson | 2017-04-13 | 1 | -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 Stearn | 2017-04-12 | 1 | -1/+0 |
| | |||||
* | SERVER-9609 Ensure users can only call getMore on cursors they created | Tess Avitabile | 2017-03-22 | 1 | -0/+1 |
| | |||||
* | Revert "SERVER-9609 Ensure users can only call getMore on cursors they created" | Tess Avitabile | 2017-03-21 | 1 | -1/+0 |
| | | | | This reverts commit 9e7974e4b6e2b3fe5e7741dce6549624113af196. | ||||
* | SERVER-9609 Ensure users can only call getMore on cursors they created | Tess Avitabile | 2017-03-17 | 1 | -0/+1 |
| | |||||
* | SERVER-22541 Manage aggregation cursors on global cursor manager. | Charlie Swanson | 2017-03-15 | 1 | -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 Swanson | 2017-03-15 | 1 | -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 opCtx | Maria van Keulen | 2017-03-07 | 1 | -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 namespace | James Wahlin | 2016-12-19 | 1 | -1/+2 |
| | |||||
* | SERVER-24128 reject embedded null bytes in namespace string parsing | David Storch | 2016-12-09 | 1 | -1/+1 |
| | |||||
* | SERVER-27065 cleanup ClientCursor, ClientCursorPin, and CursorManager | David Storch | 2016-12-02 | 1 | -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 Client | Kyle Suarez | 2016-08-08 | 1 | -1/+1 |
| | |||||
* | SERVER-5905 Add operation latency histogram | Kevin Albertson | 2016-06-24 | 1 | -0/+4 |
| | |||||
* | Revert "SERVER-5905 Add operation latency histogram" | Mathias Stearn | 2016-06-24 | 1 | -4/+0 |
| | | | | This reverts commit c7794350b056cdea85e1c6185a7dda4579936179. | ||||
* | SERVER-5905 Add operation latency histogram | Kevin Albertson | 2016-06-23 | 1 | -0/+4 |
| | | | | Signed-off-by: Kyle Suarez <kyle.suarez@mongodb.com> | ||||
* | SERVER-23971 Clang-Format code | Mark Benvenuto | 2016-05-28 | 1 | -2/+3 |
| | |||||
* | SERVER-18277 Track operation deadlines in OperationContext, not CurOp. | Andy Schwerin | 2016-05-23 | 1 | -1/+1 |
| | | | | This also unifies the implementations of checkForInterrupt and checkForInterruptNoAssert. | ||||
* | SERVER-20224 commands that write support writeConcern | Judah Schvimer | 2016-04-12 | 1 | -0/+3 |
| | |||||
* | SERVER-23407 Get rid of public fields in the Command class | Kaloian Manassiev | 2016-03-30 | 1 | -32/+32 |
| | |||||
* | SERVER-23024 remove isWriteCommandForConfigServer method | Misha Tyulenev | 2016-03-15 | 1 | -3/+0 |
| | |||||
* | SERVER-13411 parallelCollectionScan takes maxTimeMS | Tess Avitabile | 2016-02-04 | 1 | -0/+2 |
| | |||||
* | SERVER-19569 Combine getmore_response.h with cursor_responses.h | Jason Rassi | 2015-08-28 | 1 | -1/+1 |
| | |||||
* | SERVER-19207 SERVER-19210 committed reads wait for a committed snapshot and ↵ | matt dannenberg | 2015-07-19 | 1 | -1/+1 |
| | | | | read committed ignored on masterslave and standalone | ||||
* | SERVER-17364 Don't stash RecoveryUnits across getMores | Mathias Stearn | 2015-07-16 | 1 | -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 nodes | Mathias Stearn | 2015-06-29 | 1 | -0/+18 |
| | |||||
* | SERVER-16889 Modernize getExecutor*(), PlanExecutor::make() signatures | Qingyang Chen | 2015-06-26 | 1 | -7/+9 |
| | |||||
* | SERVER-18579: Clang-Format - reformat code, no comment reflow | Mark Benvenuto | 2015-06-20 | 1 | -109/+102 |
| | |||||
* | SERVER-17309 Replace std::auto_ptr<T> with std::unique_ptr<T> | Andrew Morrow | 2015-06-10 | 1 | -2/+2 |
| |