summaryrefslogtreecommitdiff
path: root/src/mongo/s/query/async_results_merger.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-46661 Use the IDL to parse a killCursors commandMindaugas Malinauskas2020-07-081-2/+3
|
* SERVER-47810 Make $changeStream shard-monitor cursor ineligible to ↵Bernard Gorman2020-05-221-16/+97
| | | | contribute high water marks
* SERVER-47735 change mongo source over to logv2Billy Donahue2020-04-261-1/+1
| | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
* SERVER-43361 Remove compatibility with 4.2 sort key formatDavid Storch2020-03-251-8/+18
| | | | | | | This logic was necessary in 4.4 to support the 4.2/4.4 upgrade/downgrade process. A 4.6 node can always use the new array-based sort key format, since it never communicates with a 4.2 mongos or mongod.
* SERVER-45567 removing util/log.h where I canGabriel Russell2020-02-211-1/+0
| | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
* SERVER-43669 Serialize "sortKey" as BSONArrayJustin Seyster2019-12-131-4/+8
|
* SERVER-44801 Guarantee that AsyncResultsMerger::getHighWaterMark() returns a ↵Mihai Andrei2019-11-271-5/+7
| | | | valid Resume Token
* SERVER-43996 Return a cursor flag to the client if only a partial subset of ↵Bernard Gorman2019-11-061-8/+39
| | | | results are available
* SERVER-42713 Consistent sort key format for change streams pipelinesJustin Seyster2019-10-291-3/+8
|
* SERVER-42723 New shard with new database can be ignored by change streamsBernard Gorman2019-10-171-1/+1
|
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-09-171-13/+13
|
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-4/+2
|
* SERVER-40785 Change sharding fixed and arbitrary executors from unique_ptr ↵Randolph Tan2019-07-091-2/+2
| | | | to shared_ptr
* SERVER-38539 Remove $_internalLatestOplogTimestamp and mergeByPBRT from ↵Bernard Gorman2019-06-251-10/+0
| | | | change streams in 4.4
* SERVER-39560 - remove leading blank line on all C++ filesBilly Donahue2019-02-131-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-38410 MongoS should fassert instead of failing an invariant when ↵Bernard Gorman2019-02-051-6/+7
| | | | running in an invalid configuration
* SERVER-38411 Propagate postBatchResumeToken through mongoS to clientBernard Gorman2019-01-091-24/+54
|
* SERVER-38410 Allow ARM to consume postBatchResumeTokenBernard Gorman2019-01-091-31/+19
|
* SERVER-36403 Cluster aggregation error message should indicate which ↵vrachev2018-12-131-1/+4
| | | | shard(s) raised an error
* SERVER-37613 Exchange error handling may deliver incorrect error code.Martin Neupauer2018-11-091-1/+6
|
* SERVER-37651 Update header files with new licenseRamon Fernandez2018-10-221-8/+10
|
* SERVER-37016 Don't stash TransactionRouter inside ShardingTaskExecutorRandolph Tan2018-09-211-0/+5
|
* SERVER-33323 Refactor agg cursor merging on mongosCharlie Swanson2018-08-151-36/+3
| | | | | | | | | | This commit makes it so that aggregations will always use a $mergeCursors as a wrapper around a AsyncResultsMerger, which is new behavior for mongos. As part of this refactor, we can delete the concept of a 'merging presorted' $sort stage (which is now handled by the AsyncResultsMerger) and delete the DocumentSourceRouterAdapter stage which talked to a RouterStageMerge, instead directly using a $mergeCursors stage.
* SERVER-34204 Always pass non-null opCtx when scheduling getMores in ARMCharlie Swanson2018-04-301-17/+33
|
* SERVER-33991 Pass txnNumber in getMore requests through mongosJack Mulrow2018-04-231-0/+18
|
* SERVER-33323 Use the IDL to serialize the ARMCharlie Swanson2018-04-051-42/+48
|
* Revert "SERVER-33323 Use the IDL to serialize the ARM"William Schultz2018-04-051-48/+42
| | | | This reverts commit 7d09f278a2acf9791b36927d6af1d30347d60391.
* SERVER-33323 Use the IDL to serialize the ARMCharlie Swanson2018-04-041-42/+48
|
* SERVER-33558 Remove readPreference from AsyncResultsMergerCharlie Swanson2018-03-071-8/+1
|
* SERVER-24635 replace references to fassertStatusOK with fassertBenety Goh2018-03-071-1/+1
|
* SERVER-24978 Use AsyncResultsMerger in $mergeCursorsCharlie Swanson2018-03-061-12/+48
|
* SERVER-29908 Create skeleton libraries for the sharding subsystemKaloian Manassiev2018-02-131-6/+0
| | | | | | | | | Splits the sharding sybsystem into 3 main libraries, which are currently mostly empty, but we will start moving code from all the other existing libraries into them. The libraries are: s/sharding_api, db/s/sharding_api and db/s/sharding_runtime
* SERVER-32307 Change ARM to kill its cursors unconditionallyIan Boros2018-01-231-24/+27
|
* SERVER-1981 Support near and nearSphere predicates on sharded collectionsTess Avitabile2017-12-281-14/+30
|
* SERVER-31133 Ignore mechanism for `StatusWith`ADAM David Alan Martin2017-12-061-2/+1
| | | | | | | | | Change `StatusWith< T >::getStatus` to return `const Status &&`, which permits an overload for `Status::ignore() const &&`. This would be called from expressions which use `StatusWith< T >::getStatus()` for example, `f().getStatus().ignore()`, giving a straightforward and concicse way to indicate that the success or failure of an operation is irrelevant (and thus the result is also irrelevant).
* SERVER-31836 Always dispatch sorted tailable awaitdata getMores to the ↵Bernard Gorman2017-11-181-1/+9
| | | | shards with timeouts of at most 1 second
* SERVER-30834 Make mongos reload the shard registry and re-establish ↵Matthew Russotto2017-11-141-0/+10
| | | | changeStream cursors when encountering a 'retryNeeded' entry
* SERVER-31787: Certain aggregation commands with merging on mongos can leak ↵Nick Zolnierz2017-11-071-8/+2
| | | | cursors on mongod
* SERVER-29141 Enable change streams on sharded collectionsCharlie Swanson2017-10-091-12/+21
|
* SERVER-29141 Update AsyncResultsMerger to merge multiple change streamsBernard Gorman2017-09-261-15/+95
|
* SERVER-29141 Refactor the way mongos handles tailable awaitData cursorsBernard Gorman2017-09-261-14/+10
|
* SERVER-30838 Remove _inlock names in sharding subsystemNathan Myers2017-09-251-106/+101
|
* SERVER-29142 Support $changeStream on unsharded collections.Charlie Swanson2017-09-131-6/+12
|
* SERVER-30704 Use ARM to merge agg cursors on mongos.Charlie Swanson2017-09-011-3/+8
|
* SERVER-30799 Avoid misleading empty batches with tailable cursors.Charlie Swanson2017-08-301-22/+32
| | | | This bug impacts tailable cursors being sent through a mongos.
* SERVER-29617 replace fetcher with ARM and add numCursors server parameterJason Chan2017-08-121-13/+1
|
* Revert "SERVER-29617 replace fetcher with ARM and add numCursors server ↵William Schultz2017-08-111-1/+13
| | | | | | parameter" This reverts commit 0d3137df3879e86d92904309e968f25529904639.
* SERVER-29617 replace fetcher with ARM and add numCursors server parameterJason Chan2017-08-111-13/+1
|
* SERVER-27244 Status usage compile-time facilities.ADAM David Alan Martin2017-06-181-3/+5
| | | | | | | | | | | | | | | | | There are numerous places in the codebase where `mongo::Status` or `mongo::StatusWith< T >` objects are returned and never checked. Many of these are innocuous, but many of them are potentially severe bugs. This change introduces facilities to permit compile-time warning of unchecked `Status` and `StatusWith` usage on clang compilers. It introduces an `ignore` function which is useful to state that a specific "ignored status" case was intentional. It not presently an error, in clang builds, to forget to check a `Status` -- this will come in a later commit. This also introduces a `transitional_ignore` function, which allows for easy continual auditing of the codebase for current "whitelisted" unchecked-status instances. All present "ignored status" cases have been marked `transitional_ignore`.
* SERVER-28814 Replace ServerSelectionMetadata with just ReadPreferenceSettingMathias Stearn2017-05-121-6/+1
|