Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-42737 Make secondary reads in ShardServerCatalogCacheLoader block ↵ | Randolph Tan | 2019-10-24 | 1 | -0/+15 |
| | | | | | | behind the PBW lock (cherry picked from commit e0f6fdab23da872d9cf8a93b88c2332ba45041c0) | ||||
* | SERVER-31098 Wrong ns in system.profile for aggregation query | Devin Hilly | 2019-02-06 | 1 | -7/+22 |
| | | | | (cherry picked from commit 1862b00862a6ea9c3fdd08bba52ea6a016eccbc5) | ||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-19 | 1 | -8/+10 |
| | |||||
* | SERVER-34572 Write commands in transactions must check for pending catalog ↵ | Tess Avitabile | 2018-04-30 | 1 | -3/+2 |
| | | | | changes | ||||
* | SERVER-34565 oplog reads on secondaries should read at lastApplied timestamp | Eric Milkie | 2018-04-20 | 1 | -5/+6 |
| | |||||
* | SERVER-34192 Allow secondary reads during batch applications | Louis Williams | 2018-04-13 | 1 | -0/+19 |
| | |||||
* | SERVER-33336 Snapshot reads should not take MODE_IX locks when autocommit=true | Tess Avitabile | 2018-03-02 | 1 | -1/+1 |
| | |||||
* | SERVER-32367 Clean up the AutoGet* suite of classes | Kaloian Manassiev | 2018-02-14 | 1 | -129/+64 |
| | | | | | | * Get rid of AutoGetCollectionOrViewForReadCommand * Get rid of constructors accepting Lock::DBLock * Always check for shard version, unless the namespace represents a view | ||||
* | SERVER-33143 Hold MODE_IX locks for readConcern level snapshot reads | James Wahlin | 2018-02-12 | 1 | -0/+6 |
| | |||||
* | SERVER-32682 Use deadline-oriented mechanism for lock timeout | Xiangyu Yao | 2018-02-09 | 1 | -17/+15 |
| | |||||
* | SERVER-32682 Allow AutoGet helpers to specify lock timeout | Xiangyu Yao | 2018-02-09 | 1 | -14/+33 |
| | |||||
* | SERVER-32367 Pull UUID and view resolution out of db_raii | Kaloian Manassiev | 2018-02-02 | 1 | -22/+5 |
| | |||||
* | SERVER-32367 Make the Command::parseNs* methods take StringData | Kaloian Manassiev | 2018-02-02 | 1 | -2/+3 |
| | |||||
* | SERVER-29909 Remove unnecessary class friendship declarations | Kaloian Manassiev | 2017-12-18 | 1 | -4/+0 |
| | |||||
* | SERVER-29909 Remove circular dependency between db_raii and sharding libraries | Kaloian Manassiev | 2017-12-16 | 1 | -187/+1 |
| | |||||
* | SERVER-31447 Use correct collation for update lookup | Charlie Swanson | 2017-11-15 | 1 | -0/+2 |
| | |||||
* | Revert "SERVER-31447 Use correct collation for update lookup" | Max Hirschhorn | 2017-11-14 | 1 | -2/+0 |
| | | | | This reverts commit de0b16077945eb6b6ec161b99f41c3222aade3b8. | ||||
* | SERVER-31447 Use correct collation for update lookup | Charlie Swanson | 2017-11-14 | 1 | -0/+2 |
| | |||||
* | SERVER-30591 Do changeStream lookups by UUID instead of namespace. | Siyuan Zhou | 2017-09-15 | 1 | -0/+16 |
| | |||||
* | SERVER-29839 Protect from mid-command renames in parseNsOrUUID | Maria van Keulen | 2017-08-30 | 1 | -0/+24 |
| | |||||
* | SERVER-29417 Attach logical session ids to cursors | samantharitter | 2017-06-15 | 1 | -0/+43 |
| | |||||
* | Revert "SERVER-29417 Attach logical session ids to cursors" | Max Hirschhorn | 2017-06-15 | 1 | -43/+0 |
| | | | | This reverts commit 65828661c6579989fdbb43f2c21de16f2bf72586. | ||||
* | SERVER-29304 Exclude time spent blocking for awaitData from getMore latency ↵ | David Storch | 2017-06-14 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | | | reporting. This change applies to various server diagnostics which include latency metrics: the slow query logs, the system.profile collection, top, global operation latency stats, and per-collection operation latency stats. The secs_running and microsecs_running fields reported in currentOp output, on the other hand, will include time spent blocking for awaitData. Furthermore, this change fixes the following: - getMore operations are no longer double-counted. - Lock acquisition times are now consistently included. This fixes a bug in which time spent acquiring locks was accidentally omitted in some cases. | ||||
* | SERVER-29417 Attach logical session ids to cursors | samantharitter | 2017-06-14 | 1 | -0/+43 |
| | |||||
* | SERVER-28543 Add OperationContext as an argument to getCollection | Maria van Keulen | 2017-04-06 | 1 | -1/+1 |
| | |||||
* | SERVER-22541 Manage aggregation cursors on global cursor manager. | Charlie Swanson | 2017-03-15 | 1 | -11/+37 |
| | | | | | | 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 | -20/+87 |
| | | | | | | | | | 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 | -16/+19 |
| | | | | | | 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 | -7/+0 |
| | |||||
* | SERVER-25681 fix ViewCatalog reload race | Kyle Suarez | 2016-08-19 | 1 | -2/+2 |
| | | | | | | Changes ViewCatalog::lookup() to return a shared_ptr<ViewDefinition> rather than a bare pointer, allowing the view definitions to persist even if the ViewCatalog is reloaded. | ||||
* | SERVER-24766 implement basic views library | Kyle Suarez | 2016-07-07 | 1 | -5/+73 |
| | | | | | | | | Adds the basic infrastructure for read-only non-materialized views, as well as the ability to create them (but not use them). Views are disabled by default unless mongod is given the setParameter enableViews=1. | ||||
* | SERVER-22359 Move ensureShardVersionOkOrThrow to CollectionShardingState | Kaloian Manassiev | 2016-03-10 | 1 | -1/+6 |
| | | | | | This ensures that we will have assertions in place for the correct locks being held. | ||||
* | SERVER-22972 Remove usages of OldClientContext which reference database | Kaloian Manassiev | 2016-03-08 | 1 | -3/+0 |
| | | | | | | Some of these are doing shard version checking against the name of the database, which is useless and breaks sharding assertions, which we are about to add. | ||||
* | SERVER-13339 Remove unused constructor of OldClientContext | Kaloian Manassiev | 2015-10-07 | 1 | -7/+0 |
| | |||||
* | SERVER-20052 yield when waiting/blocking for read committed | Eric Milkie | 2015-08-31 | 1 | -3/+4 |
| | |||||
* | SERVER-19855 Do not perform shard version checking where not necessary | Spencer T Brody | 2015-08-25 | 1 | -8/+34 |
| | | | | This reverts commit 045cd1070cae1e7827255850c2fe35194e48b24e. | ||||
* | Revert "SERVER-19855 Do not perform shard version checking where not necessary" | Benety Goh | 2015-08-21 | 1 | -34/+8 |
| | | | | This reverts commit 31716d2ae526d82d7d36464f6c9fae8b9f38542f. | ||||
* | SERVER-19855 Do not perform shard version checking where not necessary | Kaloian Manassiev | 2015-08-21 | 1 | -8/+34 |
| | | | | | | | | | | | The code in RangeDeleter and sharding migration and split uses AutoGetCollectionForRead, which has the side effect of checking for shard version, based on the context. This causes problems in the cases where we are transmitting shard version information as part of the context, in particular during the migration cases. This change gets rid of these checks and replaces them with plain lock retrieval. | ||||
* | SERVER-18579: Clang-Format - reformat code, no comment reflow | Mark Benvenuto | 2015-06-20 | 1 | -145/+156 |
| | |||||
* | SERVER-17758 Move AutoGet* and Client::*Context to their own file. | Andy Schwerin | 2015-03-27 | 1 | -0/+202 |
The new file is mongo/db/db_raii.h. Also, Client::Context is now OldClientContext and Client::WriteContext is OldClientWriteContext. |