summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/count_cmd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-70473 Make shards persist sampled read queriesCheahuychou Mao2022-11-011-0/+10
|
* SERVER-70053 Serialize and deserialize DatabaseName correctly in ↵jannaerin2022-10-271-3/+9
| | | | multitenancy mode
* SERVER-69435 Make the CSS acquisition a RAIIJordi Serra Torrens2022-10-261-12/+2
|
* SERVER-68337 Perform `collectionUUID` check inside `AutoGetCollection`Gregory Noma2022-10-211-6/+8
|
* SERVER-69981 Pass DatabaseName to checkAuthForOperationSara Golemon2022-09-301-6/+5
|
* SERVER-68336 Add version of AutoGetCollection which takes a struct for its ↵Faustoleyva542022-09-151-2/+2
| | | | optional parameters
* SERVER-68421 Remove CommandHelper::parseNsCollectionRequired(StringData ↵Sophia Tan2022-08-231-2/+2
| | | | dbname, const BSONObj& cmdObj)
* SERVER-67459 Change BasicCommand to use DatabaseNameSophia Tan2022-08-101-3/+8
|
* SERVER-68598 Change CommandHelpers::parseNsOrUUID to take in DatabaseNameSophia Tan2022-08-061-5/+6
|
* SERVER-67824 Rename IDLParserErrorContext to IDLParserContextHugh Tong2022-07-261-2/+2
|
* SERVER-65289 Improvements to Mirrored Reads Metrics and VisibilityJason Chan2022-06-241-0/+4
|
* SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includesBilly Donahue2022-05-061-1/+3
|
* SERVER-60761 Move the global read-only flag to be an OperationContext functionGregory Wlodarek2022-04-221-0/+1
|
* SERVER-64360 Server-side rewrite for count commandDavis Haupt2022-04-051-0/+8
|
* SERVER-63850 Add the count command to API version 1James Wahlin2022-03-141-0/+4
|
* Revert "SERVER-63850 Add the count command to API version 1"Sviatlana Zuiko2022-03-141-4/+0
| | | | This reverts commit 1ca10441ee35fcea2a88a0c522fa0890017f5fbd.
* SERVER-63850 Add the count command to API version 1James Wahlin2022-03-121-0/+4
|
* SERVER-60321 Fix edge cases when setting up state for Lock-free readsHenrik Edin2022-03-041-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 readsAlex Li2021-07-301-0/+1
|
* Revert "SERVER-55412 shardVersion propogated for mirrored reads"Alex Li2021-07-241-1/+0
| | | | This reverts commit 60a4229054cda93a50265a25d7a8a71ca2763e96.
* SERVER-55412 shardVersion propogated for mirrored readsAlex Li2021-07-231-0/+1
|
* Revert "SERVER-57256: Add deprecation message for count command and direct ↵Maddie Zechar2021-06-231-11/+0
| | | | | | reader to docs" This reverts commit 30725e9c2316bf28a79d15d681c6df897b93b11b.
* SERVER-57256: Add deprecation message for count command and direct reader to ↵Maddie Zechar2021-06-111-0/+11
| | | | docs
* SERVER-56488 Change the default read concern to always be localSamy Lanka2021-05-201-1/+2
|
* SERVER-54975 Rename IDL parser classes to use CommandRequest and ↵Bernard Gorman2021-04-021-3/+3
| | | | CommandReply suffixes
* SERVER-54022 Simplify AuthorizationSessionMark Benvenuto2021-02-091-4/+5
|
* SERVER-53127 Let AggregationRequestHelper::parseFromBSON() return an ↵samontea2021-02-081-5/+2
| | | | AggregateCommand
* Revert "SERVER-53127 Let AggregationRequestHelper::parseFromBSON() return an ↵Benety Goh2021-02-061-2/+5
| | | | | | AggregateCommand" This reverts commit 6feae12fe29a4c921bdbf03dd8b1ae6d5dd27f92.
* SERVER-53127 Let AggregationRequestHelper::parseFromBSON() return an ↵samontea2021-02-061-5/+2
| | | | AggregateCommand
* SERVER-51624 Modify query commands to enforce API version 1 behaviourRuoxin Xu2021-01-301-2/+5
|
* SERVER-51078 no need for checkForInterrupt in waitWhileFailPointEnabledGabriel Russell2021-01-291-1/+1
|
* SERVER-52835 Nested LFR lock helpers should read from copied CollectionCatalogDianna Hohensee2021-01-081-2/+5
|
* SERVER-51649 Convert aggregate command input to IDLRuoxin Xu2021-01-071-2/+5
|
* SERVER-51319 Call DatabaseShardingState::checkDbVersion() and ↵Dianna Hohensee2020-12-161-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 ↵samontea2020-12-111-4/+0
| | | | version 1 and remove count from API version 1
* SERVER-52556 Versioned CollectionCatalog. Writes are performed using ↵Henrik Edin2020-11-131-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 propertyKaloian Manassiev2020-11-111-8/+18
|
* SERVER-35069 Explain should include command being explainedRuoxin Xu2020-11-101-1/+1
|
* SERVER-51200 CollectionPtr in RequiresCollectionStage point to instance ↵Henrik Edin2020-10-131-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 implementationsAnton Korshunov2020-09-281-3/+6
|
* SERVER-50984 Add CollectionPtr to replace usage of const Collection*Henrik Edin2020-09-261-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 commandsLouis Williams2020-09-151-0/+4
|
* SERVER-49102 Custom filter for logging/profilingDavid Percy2020-09-041-1/+1
|
* SERVER-48477 move CRUD interface into PlanExecutorDavid Storch2020-08-311-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 Edin2020-08-071-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 commandsPV992020-07-281-0/+4
|
* SERVER-48478 Replace PipelineProxyStage with PlanExecutorPipelineDavid Storch2020-07-241-5/+3
|
* SERVER-47873 Eliminate the Collection* saved in IndexDescriptorGeert Bosch2020-06-101-1/+1
|
* SERVER-43821 Make PlanStage and PlanExecutor return errors by throwingDavid Storch2020-05-291-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/commandsSara Golemon2020-05-131-2/+0
|