Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-70473 Make shards persist sampled read queries | Cheahuychou Mao | 2022-11-01 | 1 | -0/+10 |
| | |||||
* | SERVER-70053 Serialize and deserialize DatabaseName correctly in ↵ | jannaerin | 2022-10-27 | 1 | -3/+9 |
| | | | | multitenancy mode | ||||
* | SERVER-69435 Make the CSS acquisition a RAII | Jordi Serra Torrens | 2022-10-26 | 1 | -12/+2 |
| | |||||
* | SERVER-68337 Perform `collectionUUID` check inside `AutoGetCollection` | Gregory Noma | 2022-10-21 | 1 | -6/+8 |
| | |||||
* | SERVER-69981 Pass DatabaseName to checkAuthForOperation | Sara Golemon | 2022-09-30 | 1 | -6/+5 |
| | |||||
* | SERVER-68336 Add version of AutoGetCollection which takes a struct for its ↵ | Faustoleyva54 | 2022-09-15 | 1 | -2/+2 |
| | | | | optional parameters | ||||
* | SERVER-68421 Remove CommandHelper::parseNsCollectionRequired(StringData ↵ | Sophia Tan | 2022-08-23 | 1 | -2/+2 |
| | | | | dbname, const BSONObj& cmdObj) | ||||
* | SERVER-67459 Change BasicCommand to use DatabaseName | Sophia Tan | 2022-08-10 | 1 | -3/+8 |
| | |||||
* | SERVER-68598 Change CommandHelpers::parseNsOrUUID to take in DatabaseName | Sophia Tan | 2022-08-06 | 1 | -5/+6 |
| | |||||
* | SERVER-67824 Rename IDLParserErrorContext to IDLParserContext | Hugh Tong | 2022-07-26 | 1 | -2/+2 |
| | |||||
* | SERVER-65289 Improvements to Mirrored Reads Metrics and Visibility | Jason Chan | 2022-06-24 | 1 | -0/+4 |
| | |||||
* | SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includes | Billy Donahue | 2022-05-06 | 1 | -1/+3 |
| | |||||
* | SERVER-60761 Move the global read-only flag to be an OperationContext function | Gregory Wlodarek | 2022-04-22 | 1 | -0/+1 |
| | |||||
* | SERVER-64360 Server-side rewrite for count command | Davis Haupt | 2022-04-05 | 1 | -0/+8 |
| | |||||
* | SERVER-63850 Add the count command to API version 1 | James Wahlin | 2022-03-14 | 1 | -0/+4 |
| | |||||
* | Revert "SERVER-63850 Add the count command to API version 1" | Sviatlana Zuiko | 2022-03-14 | 1 | -4/+0 |
| | | | | This reverts commit 1ca10441ee35fcea2a88a0c522fa0890017f5fbd. | ||||
* | SERVER-63850 Add the count command to API version 1 | James Wahlin | 2022-03-12 | 1 | -0/+4 |
| | |||||
* | SERVER-60321 Fix edge cases when setting up state for Lock-free reads | Henrik Edin | 2022-03-04 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | When LFR is setup we should now always: * Open a storage snapshot * Stash the catalog * Mark the OperationContext that we are in LFR None of the three is done if we are not LFR. This fixes an edge case where the opCtx was marked as LFR when no collection was found and no snapshot or catalog was stashed. A sub op could then stash a catalog that wasn't cleaned up properly when tearing down. Anything that happened afterwords, like the profile logic, now had a stashed catalog when there should be none. Also fixed when we lock for reading on a view that we are not marking the OperationContext to be LFR as we never opened a storage snapshot or stashed the catalog. | ||||
* | SERVER-55412 shardVersion propogated for mirrored reads | Alex Li | 2021-07-30 | 1 | -0/+1 |
| | |||||
* | Revert "SERVER-55412 shardVersion propogated for mirrored reads" | Alex Li | 2021-07-24 | 1 | -1/+0 |
| | | | | This reverts commit 60a4229054cda93a50265a25d7a8a71ca2763e96. | ||||
* | SERVER-55412 shardVersion propogated for mirrored reads | Alex Li | 2021-07-23 | 1 | -0/+1 |
| | |||||
* | Revert "SERVER-57256: Add deprecation message for count command and direct ↵ | Maddie Zechar | 2021-06-23 | 1 | -11/+0 |
| | | | | | | reader to docs" This reverts commit 30725e9c2316bf28a79d15d681c6df897b93b11b. | ||||
* | SERVER-57256: Add deprecation message for count command and direct reader to ↵ | Maddie Zechar | 2021-06-11 | 1 | -0/+11 |
| | | | | docs | ||||
* | SERVER-56488 Change the default read concern to always be local | Samy Lanka | 2021-05-20 | 1 | -1/+2 |
| | |||||
* | SERVER-54975 Rename IDL parser classes to use CommandRequest and ↵ | Bernard Gorman | 2021-04-02 | 1 | -3/+3 |
| | | | | CommandReply suffixes | ||||
* | SERVER-54022 Simplify AuthorizationSession | Mark Benvenuto | 2021-02-09 | 1 | -4/+5 |
| | |||||
* | SERVER-53127 Let AggregationRequestHelper::parseFromBSON() return an ↵ | samontea | 2021-02-08 | 1 | -5/+2 |
| | | | | AggregateCommand | ||||
* | Revert "SERVER-53127 Let AggregationRequestHelper::parseFromBSON() return an ↵ | Benety Goh | 2021-02-06 | 1 | -2/+5 |
| | | | | | | AggregateCommand" This reverts commit 6feae12fe29a4c921bdbf03dd8b1ae6d5dd27f92. | ||||
* | SERVER-53127 Let AggregationRequestHelper::parseFromBSON() return an ↵ | samontea | 2021-02-06 | 1 | -5/+2 |
| | | | | AggregateCommand | ||||
* | SERVER-51624 Modify query commands to enforce API version 1 behaviour | Ruoxin Xu | 2021-01-30 | 1 | -2/+5 |
| | |||||
* | SERVER-51078 no need for checkForInterrupt in waitWhileFailPointEnabled | Gabriel Russell | 2021-01-29 | 1 | -1/+1 |
| | |||||
* | SERVER-52835 Nested LFR lock helpers should read from copied CollectionCatalog | Dianna Hohensee | 2021-01-08 | 1 | -2/+5 |
| | |||||
* | SERVER-51649 Convert aggregate command input to IDL | Ruoxin Xu | 2021-01-07 | 1 | -2/+5 |
| | |||||
* | SERVER-51319 Call DatabaseShardingState::checkDbVersion() and ↵ | Dianna Hohensee | 2020-12-16 | 1 | -6/+4 |
| | | | | | | | | | | | CSS::getCollectionDescription() safely in AutoGetCollectionLockFree and expand lock-free sharding testing. CollectionShardingState and DatabaseShardingState can now be accessed without a lock via new getSharedForLockFreeReads() functions on their respective interfaces. The shard key will now be available in the AutoGetCollection* RAII types via the CollectionPtr. This allows lock-free reads to acquire a single view of the sharding state to use throughout a read operation. | ||||
* | SERVER-51768 Update javascript tests to reflect count being removed from API ↵ | samontea | 2020-12-11 | 1 | -4/+0 |
| | | | | version 1 and remove count from API version 1 | ||||
* | SERVER-52556 Versioned CollectionCatalog. Writes are performed using ↵ | Henrik Edin | 2020-11-13 | 1 | -1/+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-50027 Implement an 'allowMigrations' collection property | Kaloian Manassiev | 2020-11-11 | 1 | -8/+18 |
| | |||||
* | SERVER-35069 Explain should include command being explained | Ruoxin Xu | 2020-11-10 | 1 | -1/+1 |
| | |||||
* | SERVER-51200 CollectionPtr in RequiresCollectionStage point to instance ↵ | Henrik Edin | 2020-10-13 | 1 | -2/+2 |
| | | | | | | | | | | | owned by AutoGetCollection RequiresCollectionStage now holds a pointer to CollectionPtr owned by an AutoGetCollection. When we save and restore the executor a new CollectionPtr pointer needs to be assigned. Plan executors can no longer be created with temporary CollectionPtr instances and their interface have been changed to take pointers to avoid binding to rvalues. RequiresCollectionStage no longer loads collections from the catalog and will be in sync with the owning AutoGetCollection. | ||||
* | SERVER-50946 Create PlanExplainer interface and implementations | Anton Korshunov | 2020-09-28 | 1 | -3/+6 |
| | |||||
* | SERVER-50984 Add CollectionPtr to replace usage of const Collection* | Henrik Edin | 2020-09-26 | 1 | -2/+2 |
| | | | | | | | | | | | | 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-50863 Collect resource consumption metrics for specified commands | Louis Williams | 2020-09-15 | 1 | -0/+4 |
| | |||||
* | SERVER-49102 Custom filter for logging/profiling | David Percy | 2020-09-04 | 1 | -1/+1 |
| | |||||
* | SERVER-48477 move CRUD interface into PlanExecutor | David Storch | 2020-08-31 | 1 | -7/+2 |
| | | | | | | This allows classic PlanStages to be removed from the PlanExecutor interface. It also positions the code base well for adding SBE support for all of the CRUD commands. | ||||
* | SERVER-47885 Added lookupCollectionByXXXForRead interface to the Collection ↵ | Henrik Edin | 2020-08-07 | 1 | -4/+4 |
| | | | | | | | | | 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-49065 Mark API Version 1 commands | PV99 | 2020-07-28 | 1 | -0/+4 |
| | |||||
* | SERVER-48478 Replace PipelineProxyStage with PlanExecutorPipeline | David Storch | 2020-07-24 | 1 | -5/+3 |
| | |||||
* | SERVER-47873 Eliminate the Collection* saved in IndexDescriptor | Geert Bosch | 2020-06-10 | 1 | -1/+1 |
| | |||||
* | SERVER-43821 Make PlanStage and PlanExecutor return errors by throwing | David Storch | 2020-05-29 | 1 | -2/+1 |
| | | | | | | | | This eliminates the need for the FAILURE status codes in PlanStage and PlanExecutor, and brings query execution's error reporting more in line with that of the rest of the server. It also makes it easier for future implementations of PlanExecutor to comply with the interface. | ||||
* | SERVER-48084 Lint log lines in mongo/db/commands | Sara Golemon | 2020-05-13 | 1 | -2/+0 |
| |