Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-62457 Fix AutoGetCollectionForReadCommandLock bug wherein a request ↵ | Dianna Hohensee | 2022-03-09 | 1 | -13/+46 |
| | | | | can come in with an UNSHARDED shard version, AutoGet*LockFree can find sharded state and then pass the SV check as unsharded, due to concurrent activities with the lock-free read state setup | ||||
* | SERVER-63874 Use AutoStatsTracker multi-collection functionality in the ↵ | Dianna Hohensee | 2022-03-07 | 1 | -1/+1 |
| | | | | AutoGetCollectionForReadCommand* classes | ||||
* | SERVER-62798 Use single 'AutoGet' for all execution namespaces instead of ↵ | Mihai Andrei | 2022-03-01 | 1 | -0/+1 |
| | | | | multiple in 'runAggregate' | ||||
* | SERVER-59958 implement multi-collection support for ↵ | Dianna Hohensee | 2022-02-10 | 1 | -116/+51 |
| | | | | AutoGetCollectionForRead* collection helpers | ||||
* | SERVER-62674 Add stats tracking for multiple collections | Mihai Andrei | 2022-01-31 | 1 | -2/+3 |
| | |||||
* | SERVER-60837 Remove CollectionUUID and OptionalCollectionUUID aliases | Daniel Gómez Ferro | 2021-12-02 | 1 | -2/+2 |
| | |||||
* | SERVER-58663 Create a lock-free multi collection AutoGet* helper | Dianna Hohensee | 2021-09-17 | 1 | -0/+109 |
| | |||||
* | SERVER-54889 Nested LFR collection helpers must not try to re-establish read ↵ | Dianna Hohensee | 2021-03-24 | 1 | -1/+2 |
| | | | | source | ||||
* | SERVER-54024 Use lock-free collection helpers in some auth read lookups and ↵ | Dianna Hohensee | 2021-03-02 | 1 | -0/+19 |
| | | | | RolesLocks. | ||||
* | SERVER-54066 Retain stashed CollectionCatalog in the case of out-of-order ↵ | Dianna Hohensee | 2021-02-17 | 1 | -2/+8 |
| | | | | destruction of AutoGetCollectionForRead*LockFree helpers | ||||
* | SERVER-53829 Make listCollections and listIndexes commands lock free | Henrik Edin | 2021-01-26 | 1 | -0/+39 |
| | |||||
* | SERVER-52835 Nested LFR lock helpers should read from copied CollectionCatalog | Dianna Hohensee | 2021-01-08 | 1 | -1/+6 |
| | |||||
* | SERVER-53057 Read-copy-update for the ViewCatalog. | Henrik Edin | 2020-12-09 | 1 | -5/+5 |
| | | | | | | | get() now returns an immutable instance. Modifications are done with static functions in the ViewCatalog that perform the update serialized by a write mutex. Const-correct usage of the ViewCatalog. | ||||
* | SERVER-50870 Establish consistent storage snapshot with the refreshed ↵ | Henrik Edin | 2020-11-17 | 1 | -10/+53 |
| | | | | Collection after yielding | ||||
* | SERVER-52556 Versioned CollectionCatalog. Writes are performed using ↵ | Henrik Edin | 2020-11-13 | 1 | -0/+1 |
| | | | | | | | copy-on-write. Internal mutexes when reading CollectionCatalog are removed, just one mutex for writes are needed. Lock-free reads helper AutoGetCollectionForReadLockFree stashes a CollectionCatalog consistent with snapshot on OperationContext | ||||
* | SERVER-50677 Make a lock-free read version of AutoGetCollectionForRead and ↵ | Dianna Hohensee | 2020-10-14 | 1 | -14/+147 |
| | | | | open a storage snapshot corresponding to the acquired Collection instance | ||||
* | SERVER-51091 Rearrange AutoGetCollection templating and inheritance to have ↵ | Dianna Hohensee | 2020-09-30 | 1 | -24/+49 |
| | | | | separate -LFR and non-LFR (lock-free read) lock helpers. | ||||
* | SERVER-50984 Add CollectionPtr to replace usage of const Collection* | Henrik Edin | 2020-09-26 | 1 | -2/+18 |
| | | | | | | | | | | | | It implements a yieldable interface that is used to re-load the Collection pointer from the catalog after a yield that released locks. With lock-free reads and copy-on-write on Collection instances releasing locks without notifying an AutoGetCollection at a higher level may cause its pointers to dangle if a MODE_X writer installs a new Collection instance in the catalog. CollectionPtr should be passed by const reference so a yield can notify all the way up. | ||||
* | SERVER-47885 Added lookupCollectionByXXXForRead interface to the Collection ↵ | Henrik Edin | 2020-08-07 | 1 | -5/+5 |
| | | | | | | | | | catalog that returns collection as shared_ptr<const Collection> AutoGetCollectionForRead and AutoGetCollectionForReadCommand now uses this and holds the shared_ptr. They return the collection as const. Const correct various places to make this possible. Moved some logic from Collection destructors to deregister from the catalog as they may now be destroyed at a later point. | ||||
* | SERVER-47803 Move the database level profile setting from Database into ↵ | Dianna Hohensee | 2020-05-14 | 1 | -1/+1 |
| | | | | CollectionCatalog | ||||
* | SERVER-46721 Secondary readers should read at the no-overlap time instead of ↵ | Louis Williams | 2020-05-12 | 1 | -13/+0 |
| | | | | | | | | lastApplied The no-overlap time, ReadSource::kNoOverlap, is the minimum of replication's lastApplied timestamp and WiredTiger's all_durable time. This time is independent of replication state and ensures queries do not see oplog holes after state transitions from secondary to primary. | ||||
* | SERVER-45137 Remove namespaces from Top when collections are renamed | Gregory Wlodarek | 2020-01-31 | 1 | -12/+14 |
| | | | | create mode 100644 jstests/noPassthroughWithMongod/top_rename.js | ||||
* | SERVER-42737 Make secondary reads in ShardServerCatalogCacheLoader block ↵ | Randolph Tan | 2019-10-23 | 1 | -0/+15 |
| | | | | behind the PBW lock | ||||
* | SERVER-41525 Use ignore_prepare=force for transactions that correctly do ↵ | Louis Williams | 2019-06-11 | 1 | -10/+11 |
| | | | | writes while ignoring prepare conflicts | ||||
* | SERVER-40938: disallow afterClusterTime and ignore prepare conflicts for ↵ | Lingzhi Deng | 2019-05-23 | 1 | -0/+36 |
| | | | | dbhash and map-reduce | ||||
* | SERVER-40357 expand all calls to MONGO_DISALLOW_COPYING | Billy Donahue | 2019-03-28 | 1 | -4/+8 |
| | | | | | | | | | | | produced by: hits="$(git grep -n MONGO_DISALLOW_COPYING | cut -d: -f1 )" for f in "$hits"; do sed -i.orig ' s/^\( *\)MONGO_DISALLOW_COPYING(\(.*\));/\1\2(const \2\&) = delete;\n\1\2\& operator=(const \2\&) = delete;/; ' $f done | ||||
* | SERVER-39560 - remove leading blank line on all C++ files | Billy Donahue | 2019-02-13 | 1 | -1/+0 |
| | | | | | | Remove leading comments that are just stating the filename. Move any file-level comments below the copyright banner. Remove leading blank lines. | ||||
* | SERVER-37283 Use stronger locks for system.views | Charlie Swanson | 2019-02-11 | 1 | -1/+2 |
| | | | | | | | | | | Readers of the view catalog depend on a MODE_IS DB lock preventing concurrent writes to the view catalog. This is true for regular view maintenance commands like collMod, create, and drop. However, on secondaries these commands are replicated as direct writes to system.views and do not hold as strong of a lock. Further, a user is permitted to write directly to system.views and so could hit a similar issue on the primary. | ||||
* | SERVER-31098 Wrong ns in system.profile for aggregation query | Devin Hilly | 2018-11-20 | 1 | -7/+22 |
| | |||||
* | SERVER-37651 Update header files with new license | Ramon Fernandez | 2018-10-22 | 1 | -8/+10 |
| | |||||
* | SERVER-35516 Get rid of OldClientWriteContext | Kaloian Manassiev | 2018-06-15 | 1 | -44/+1 |
| | |||||
* | 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. |